Message ID | 20191121203344.156835-1-pgonda@google.com (mailing list archive) |
---|---|
Headers | show |
Series | Limit memory encryption cpuid pass through | expand |
On 11/21/19 2:33 PM, Peter Gonda wrote: > KVM_GET_SUPPORTED_CPUID for 0x8000001F currently passes through all data if > X86_FEATURE_SEV is enabled. Guests only need the SEV bit and Cbit location > to work correctly. This series moves handing of this cpuid function out of > svm.c to the general x86 function and masks out host data. > > Peter Gonda (2): > KVM x86: Move kvm cpuid support out of svm > KVM x86: Mask memory encryption guest cpuid > > arch/x86/kvm/cpuid.c | 11 +++++++++++ > arch/x86/kvm/svm.c | 7 ------- > 2 files changed, 11 insertions(+), 7 deletions(-) > Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>