Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

igvmbuilder: fix incorrect CPUID table construction #416

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

msft-jlange
Copy link
Contributor

The IGVM file specifies the set of CPUID leaves that are expected to be provided when the IGVM file is loaded. The builder was erroneously specifying leaf EAX=1 with subleaf ECX=1, which is not architecturally defined. This caused the subsequent CPUID lookup to fail when the SVSM would execute its CPUID lookup code.

The IGVM file specifies the set of CPUID leaves that are expected to be
provided when the IGVM file is loaded.  The builder was erroneously
specifying leaf EAX=1 with subleaf ECX=1, which is not architecturally
defined.  This caused the subsequent CPUID lookup to fail when the SVSM
would execute its CPUID lookup code.

Signed-off-by: Jon Lange <[email protected]>
@00xc 00xc merged commit 33a191e into coconut-svsm:main Jul 24, 2024
3 checks passed
@msft-jlange msft-jlange deleted the igvm_cpuid branch July 24, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants