vmx: properly handle notification event when vCPU is running
authorFeng Wu <feng.wu@intel.com>
Thu, 10 Dec 2015 12:14:04 +0000 (13:14 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Dec 2015 12:14:04 +0000 (13:14 +0100)
commite78c98f727660643ac1a4a1f3788bea8019ab5a4
treee706f0f9fdc8ae9a967c1c22a87746585c3bba35
parent35a1caf8b6b5d026be83ed2aac0192a0c7274740
vmx: properly handle notification event when vCPU is running

When a vCPU is running in Root mode and a notification event
has been injected to it. we need to set VCPU_KICK_SOFTIRQ for
the current cpu, so the pending interrupt in PIRR will be
synced to vIRR before VM-Exit in time.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmx.c