KVM: vmx: disable APIC virtualization in nested guests
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 May 2014 09:20:54 +0000 (11:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 May 2014 11:46:02 +0000 (13:46 +0200)
commit696dfd95ba9838327a7013e5988ff3ba60dcc8c8
tree9728efc0e17d90dda636b3d451d4c2fdbc07f19c
parent89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd
KVM: vmx: disable APIC virtualization in nested guests

While running a nested guest, we should disable APIC virtualization
controls (virtualized APIC register accesses, virtual interrupt
delivery and posted interrupts), because we do not expose them to
the nested guest.

Reported-by: Hu Yaohui <loki2441@gmail.com>
Suggested-by: Abel Gordon <abel@stratoscale.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c