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(-) -- 2.24.0.432.g9d3f5f5b63-goog