]> xenbits.xensource.com Git - xen.git/commitdiff
x86/svm: Drop adjustment of X86_FEATURE_APIC
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Sep 2016 09:38:27 +0000 (10:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Oct 2016 11:44:24 +0000 (12:44 +0100)
The common hvm_cpuid() code already does this.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/hvm/svm/svm.c

index 0ed3e733952c3b4a6e84f8950c99379eefe787fe..16427f62bbe72101660be9d3edfd35bb47f625c6 100644 (file)
@@ -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 */