]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: add support for masking CPUID features in confidential guests
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Jul 2024 09:12:06 +0000 (11:12 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jul 2024 05:47:11 +0000 (07:47 +0200)
commitc28d8b097f6da0389d0e915e26ab210aaac38ba0
treeb90211059842e5bab07d98c41f33d1a4fdf7d30a
parenta0124e333e2176640f233e5ea57a2f413985d9b5
target/i386: add support for masking CPUID features in confidential guests

Some CPUID features may be provided by KVM for some guests, independent of
processor support, for example TSC deadline or TSC adjust.  If these are
not supported by the confidential computing firmware, however, the guest
will fail to start.  Add support for removing unsupported features from
"-cpu host".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/confidential-guest.h
target/i386/kvm/kvm.c