The common hvm_cpuid() code already does this. Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- CC: Jan Beulich <jbeul...@suse.com> CC: Boris Ostrovsky <boris.ostrov...@oracle.com> CC: Suravee Suthikulpanit <suravee.suthikulpa...@amd.com> --- xen/arch/x86/hvm/svm/svm.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index 0ed3e73..16427f6 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -1572,11 +1572,6 @@ static void svm_cpuid_intercept( hvm_cpuid(input, eax, ebx, ecx, edx); switch (input) { - case 0x80000001: - /* Fix up VLAPIC details. */ - if ( vlapic_hw_disabled(vcpu_vlapic(v)) ) - __clear_bit(X86_FEATURE_APIC & 31, edx); - break; case 0x8000001c: { /* LWP capability CPUID */ -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel