Marek Marczykowski-Górecki writes ("[PATCH v8 2/4] libxl: do not attach xen-pciback to HVM domain, if stubdomain is in use"): > HVM domains use IOMMU and device model assistance for communicating with > PCI devices, xen-pcifront/pciback isn't directly needed by HVM domain. > But pciback serve also second function - it reset the device when it is > deassigned from the guest and for this reason pciback needs to be used > with HVM domain too. > When HVM domain has device model in stubdomain, attaching xen-pciback to > the target domain itself may prevent attaching xen-pciback to the > (PV) stubdomain, effectively breaking PCI passthrough. > > Fix this by attaching pciback only to one domain: if PV stubdomain is in > use, let it be stubdomain (the commit prevents attaching device to target > HVM in this case); otherwise, attach it to the target domain. > > Signed-off-by: Marek Marczykowski-Górecki <marma...@invisiblethingslab.com> > Acked-by: Wei Liu <wei.l...@citrix.com>
FTR, this had a trivial conflict with 7988902b libxl_pci: Don't ignore PCI PT error at guest creation which I am fixing up. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel