VMX: fix interaction of APIC-V and Viridian emulation
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Jul 2013 06:47:18 +0000 (08:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Jul 2013 06:47:18 +0000 (08:47 +0200)
commit303066fdb1e4fe816e48acd665453f58b8399e81
tree61cd57057814cf581bc20e42476b702f8e9f8cdf
parent85047d9e4f4afeb73bca1e98f705a2f4f1d51c03
VMX: fix interaction of APIC-V and Viridian emulation

Viridian using a synthetic MSR for issuing EOI notifications bypasses
the normal in-processor handling, which would clear
GUEST_INTR_STATUS.SVI. Hence we need to do this in software in order
for future interrupts to get delivered.

Based on analysis by Yang Z Zhang <yang.z.zhang@intel.com>.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Yang Zhang <yang.z.zhang@intel.com>
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h