KVM: nVMX: Support direct APIC access from L2
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 16 Dec 2013 11:55:46 +0000 (12:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Dec 2013 09:27:09 +0000 (10:27 +0100)
commitca3f257ae570c37d3da30a524a2f61ce602c6c99
tree476d6c425876853432eaaa18dd8ef555b8f9fcbc
parent9357d93952143b178fa9d1f5095b8f273b01a1f1
KVM: nVMX: Support direct APIC access from L2

It's a pathological case, but still a valid one: If L1 disables APIC
virtualization and also allows L2 to directly write to the APIC page, we
have to forcibly enable APIC virtualization while in L2 if the in-kernel
APIC is in use.

This allows to run the direct interrupt test case in the vmx unit test
without x2APIC.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c
This page took 0.024529 seconds and 5 git commands to generate.