Skip to content

Conversation

@Lencerf
Copy link
Collaborator

@Lencerf Lencerf commented Feb 10, 2026

No description provided.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
For AMD SEV-SNP, the guest CPUID table is limited to 64 entries.
On some platforms, the CPUID list from KVM exceeds this limit but
contains entries with all-zero values.

Filter these empty entries out to reduce the size of the CPUID list.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
@Lencerf Lencerf changed the title fix(cpuid): ensure required CPUID leaves are present Fix AMD SEV-SNP guest CPUID table Feb 10, 2026
@coveralls
Copy link

coveralls commented Feb 10, 2026

Pull Request Test Coverage Report for Build 21855123876

Details

  • 0 of 42 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 26.573%

Changes Missing Coverage Covered Lines Changed/Added Lines %
alioth/src/hv/kvm/kvm_x86_64.rs 0 1 0.0%
alioth/src/board/board_x86_64.rs 0 41 0.0%
Totals Coverage Status
Change from base Build 21804924395: -0.02%
Covered Lines: 3669
Relevant Lines: 14295

💛 - Coveralls

@Lencerf Lencerf merged commit 1bfff6d into google:main Feb 10, 2026
5 checks passed
@Lencerf Lencerf deleted the fix/snp-cpuid branch February 10, 2026 07:07
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