Re: [Xen-devel] [PATCH v2 4/5] VT-d PI: Adding reference count to pi_desc

2017-05-15 Thread George Dunlap
On Thu, May 11, 2017 at 7:04 AM, Chao Gao wrote: > This patch intruduces a 'refcnt' field in vmx_pi_blocking to track > the reference count of 'pi_desc' of the vCPU. And change this field > every time we re-program one IRTE. > > Signed-off-by: Chao Gao > --- > xen/arch/x86/hvm/vmx/vmx.c

[Xen-devel] [PATCH v2 4/5] VT-d PI: Adding reference count to pi_desc

2017-05-10 Thread Chao Gao
This patch intruduces a 'refcnt' field in vmx_pi_blocking to track the reference count of 'pi_desc' of the vCPU. And change this field every time we re-program one IRTE. Signed-off-by: Chao Gao --- xen/arch/x86/hvm/vmx/vmx.c | 29 xen/drivers/passthrough/io.c