KVM x86: Move kvm cpuid support out of svm
authorPeter Gonda <pgonda@google.com>
Thu, 21 Nov 2019 20:33:43 +0000 (12:33 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Nov 2019 10:39:18 +0000 (11:39 +0100)
commitc1de0f25221c3abc7031fa482c109ccb079e7938
treeecd4c20f0029ae28f102211732f986c2185ce380
parent96710247298df52a4b8150a62a6fe87083093ff3
KVM x86: Move kvm cpuid support out of svm

Memory encryption support does not have module parameter dependencies
and can be moved into the general x86 cpuid __do_cpuid_ent function.
This changes maintains current behavior of passing through all of
CPUID.8000001F.

Suggested-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Peter Gonda <pgonda@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/svm.c