On 24.06.15 at 07:18, feng...@intel.com wrote:
--- a/xen/arch/x86/hvm/vmx/vmx.c
+++ b/xen/arch/x86/hvm/vmx/vmx.c
@@ -1896,6 +1896,59 @@ static void pi_wakeup_interrupt(struct cpu_user_regs
*regs)
this_cpu(irq_count)++;
}
+/*
+ * Handle VT-d posted-interrupt when VCPU is running.
From: Wu, Feng
Sent: Wednesday, June 24, 2015 1:18 PM
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.
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...@intel.com
---
v3:
- Make