Re: [Xen-devel] [v3 13/15] vmx: Properly handle notification event when vCPU is running

2015-07-10 Thread Jan Beulich
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.

Re: [Xen-devel] [v3 13/15] vmx: Properly handle notification event when vCPU is running

2015-07-08 Thread Tian, Kevin
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.

[Xen-devel] [v3 13/15] vmx: Properly handle notification event when vCPU is running

2015-06-23 Thread Feng Wu
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