Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-25 Thread Andrew Cooper
On 25/10/16 20:22, Marek Marczykowski-Górecki wrote: > On Tue, Oct 25, 2016 at 09:10:02AM -0400, Konrad Rzeszutek Wilk wrote: >> On Thu, Oct 20, 2016 at 12:42:33AM +0200, Marek Marczykowski-Górecki wrote: >>> On Wed, Oct 19, 2016 at 04:46:26PM -0400, Konrad Rzeszutek Wilk wrote: On Wed, Oct 19

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-25 Thread Marek Marczykowski-Górecki
On Tue, Oct 25, 2016 at 09:10:02AM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Oct 20, 2016 at 12:42:33AM +0200, Marek Marczykowski-Górecki wrote: > > On Wed, Oct 19, 2016 at 04:46:26PM -0400, Konrad Rzeszutek Wilk wrote: > > > On Wed, Oct 19, 2016 at 10:37:52AM +0100, Wei Liu wrote: > > > > On T

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-25 Thread Konrad Rzeszutek Wilk
On Thu, Oct 20, 2016 at 12:42:33AM +0200, Marek Marczykowski-Górecki wrote: > On Wed, Oct 19, 2016 at 04:46:26PM -0400, Konrad Rzeszutek Wilk wrote: > > On Wed, Oct 19, 2016 at 10:37:52AM +0100, Wei Liu wrote: > > > On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki > > > wrote:

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-19 Thread Marek Marczykowski-Górecki
On Wed, Oct 19, 2016 at 04:46:26PM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 19, 2016 at 10:37:52AM +0100, Wei Liu wrote: > > On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote: > > > HVM domains use IOMMU and device model assistance for communicating with > > > PCI

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-19 Thread Konrad Rzeszutek Wilk
On Wed, Oct 19, 2016 at 10:37:52AM +0100, Wei Liu wrote: > On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote: > > HVM domains use IOMMU and device model assistance for communicating with > > PCI devices, xen-pcifront/pciback is used only in PV domains. > > This bit of desc

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-19 Thread Wei Liu
On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote: > HVM domains use IOMMU and device model assistance for communicating with > PCI devices, xen-pcifront/pciback is used only in PV domains. This bit of description is in line with my understanding of how PCI passthrough wor

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-18 Thread Juergen Schinker
- On 18 Oct, 2016, at 21:03, Marek Marczykowski-Górecki marma...@invisiblethingslab.com wrote: > On Tue, Oct 18, 2016 at 04:52:29PM -0400, Konrad Rzeszutek Wilk wrote: >> On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote: >> > HVM domains use IOMMU and device model as

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-18 Thread Marek Marczykowski-Górecki
On Tue, Oct 18, 2016 at 04:52:29PM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote: > > HVM domains use IOMMU and device model assistance for communicating with > > PCI devices, xen-pcifront/pciback is used only in PV domains. > > Whe

Re: [Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-18 Thread Konrad Rzeszutek Wilk
On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote: > HVM domains use IOMMU and device model assistance for communicating with > PCI devices, xen-pcifront/pciback is used only in PV domains. > When HVM domain has device model in stubdomain, attaching xen-pciback to > the tar

[Xen-devel] [PATCH 1/3] libxl: attach xen-pciback only to PV domains

2016-10-17 Thread Marek Marczykowski-Górecki
HVM domains use IOMMU and device model assistance for communicating with PCI devices, xen-pcifront/pciback is used only in PV domains. When HVM domain has device model in stubdomain, attaching xen-pciback to the target domain itself is not only useless, but also may prevent attaching xen-pciback to