Re: [Xen-devel] [PATCH V2 25/25] x86/vvtd: save and restore emulated VT-d

2017-08-25 Thread Chao Gao
On Fri, Aug 25, 2017 at 03:00:32AM -0600, Jan Beulich wrote: On 25.08.17 at 08:35, wrote: >> On Wed, Aug 23, 2017 at 01:19:41PM +0100, Roger Pau Monné wrote: >>>On Wed, Aug 09, 2017 at 04:34:26PM -0400, Lan Tianyu wrote: From: Chao Gao Wrap some useful status in a new structu

Re: [Xen-devel] [PATCH V2 25/25] x86/vvtd: save and restore emulated VT-d

2017-08-25 Thread Jan Beulich
>>> On 25.08.17 at 08:35, wrote: > On Wed, Aug 23, 2017 at 01:19:41PM +0100, Roger Pau Monné wrote: >>On Wed, Aug 09, 2017 at 04:34:26PM -0400, Lan Tianyu wrote: >>> From: Chao Gao >>> >>> Wrap some useful status in a new structure hvm_hw_vvtd, following >>> the customs of vlapic, vioapic and et

Re: [Xen-devel] [PATCH V2 25/25] x86/vvtd: save and restore emulated VT-d

2017-08-25 Thread Chao Gao
On Wed, Aug 23, 2017 at 01:19:41PM +0100, Roger Pau Monné wrote: >On Wed, Aug 09, 2017 at 04:34:26PM -0400, Lan Tianyu wrote: >> From: Chao Gao >> >> Wrap some useful status in a new structure hvm_hw_vvtd, following >> the customs of vlapic, vioapic and etc. Provide two save-restore >> pairs to s

Re: [Xen-devel] [PATCH V2 25/25] x86/vvtd: save and restore emulated VT-d

2017-08-23 Thread Roger Pau Monné
On Wed, Aug 09, 2017 at 04:34:26PM -0400, Lan Tianyu wrote: > From: Chao Gao > > Wrap some useful status in a new structure hvm_hw_vvtd, following > the customs of vlapic, vioapic and etc. Provide two save-restore > pairs to save/restore registers and non-register status. > > Signed-off-by: Chao

[Xen-devel] [PATCH V2 25/25] x86/vvtd: save and restore emulated VT-d

2017-08-09 Thread Lan Tianyu
From: Chao Gao Wrap some useful status in a new structure hvm_hw_vvtd, following the customs of vlapic, vioapic and etc. Provide two save-restore pairs to save/restore registers and non-register status. Signed-off-by: Chao Gao Signed-off-by: Lan Tianyu --- xen/drivers/passthrough/vtd/vvtd.c