Nested VMX: Force check ISR when L2 is running
authorYang Zhang <yang.z.zhang@Intel.com>
Thu, 22 Aug 2013 08:50:13 +0000 (10:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Aug 2013 08:50:13 +0000 (10:50 +0200)
commitb35d0a26983843c092bfa353fd6b9aa8c3bf4886
tree24a69d20c4f69e5b60621ec201e8152d47ccc0e9
parent7fb5c6b9ef22915e3fcac95cd44857f4457ba783
Nested VMX: Force check ISR when L2 is running

External interrupt is allowed to notify CPU only when it has higher
priority than current in servicing interrupt. With APIC-v, the priority
comparing is done by hardware and hardware will inject the interrupt to
VCPU when it recognizes an interrupt. Currently, there is no virtual
APIC-v feature available for L1 to use, so when L2 is running, we still need
to compare interrupt priority with ISR in hypervisor instead via hardware.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Acked-by: "Dong, Eddie" <eddie.dong@intel.com>
xen/arch/x86/hvm/vlapic.c