From: Andrew Cooper Date: Thu, 1 Sep 2016 09:38:27 +0000 (+0100) Subject: x86/svm: Drop adjustment of X86_FEATURE_APIC X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~169 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a05b4d8a13f41bdff3e1242a3888388c9bde4f6f;p=xen.git 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 --- 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 */