kvm: svm: Do not support AVIC if not CONFIG_X86_LOCAL_APIC
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Wed, 15 Jun 2016 22:24:36 +0000 (17:24 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2016 22:28:30 +0000 (00:28 +0200)
commit5b8abf1f33ccd9f1cbc4248ade3cd507d9319c48
tree093f565820d608d4dc5c9d32e54cfb1274a3b12e
parent7d669f50847481c52faf0656aea7b4be63113210
kvm: svm: Do not support AVIC if not CONFIG_X86_LOCAL_APIC

Add logic to disable AVIC #ifndef CONFIG_X86_LOCAL_APIC.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c