From a05b4d8a13f41bdff3e1242a3888388c9bde4f6f Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Thu, 1 Sep 2016 10:38:27 +0100 Subject: [PATCH] x86/svm: Drop adjustment of X86_FEATURE_APIC The common hvm_cpuid() code already does this. Signed-off-by: Andrew Cooper Reviewed-by: Boris Ostrovsky Release-acked-by: Wei Liu --- 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 0ed3e73395..16427f62bb 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.39.5