diff options
author | Michael Roth <michael.roth@amd.com> | 2024-05-30 06:16:32 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-05 11:01:06 +0200 |
commit | 70943ad8e4dfbe5f77006b880290219be9d03553 (patch) | |
tree | 425432d99d7801a45d261852f7ac086daf597e4c /include | |
parent | 3d8c2a7f4806ff39423312e503737fd76c34dcae (diff) | |
download | qemu-70943ad8e4dfbe5f77006b880290219be9d03553.zip qemu-70943ad8e4dfbe5f77006b880290219be9d03553.tar.gz qemu-70943ad8e4dfbe5f77006b880290219be9d03553.tar.bz2 |
i386/sev: Add support for SNP CPUID validation
SEV-SNP firmware allows a special guest page to be populated with a
table of guest CPUID values so that they can be validated through
firmware before being loaded into encrypted guest memory where they can
be used in place of hypervisor-provided values[1].
As part of SEV-SNP guest initialization, use this interface to validate
the CPUID entries reported by KVM_GET_CPUID2 prior to initial guest
start and populate the CPUID page reserved by OVMF with the resulting
encrypted data.
[1] SEV SNP Firmware ABI Specification, Rev. 0.8, 8.13.2.6
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Pankaj Gupta <pankaj.gupta@amd.com>
Message-ID: <20240530111643.1091816-21-pankaj.gupta@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions