Re: [libvirt] [PATCH 1/2] qemu: add host-pci-multidomain capability

2014-05-01 Thread Laine Stump
On 04/30/2014 05:17 PM, Daniel P. Berrange wrote: > On Wed, Apr 30, 2014 at 04:04:00PM +0300, Laine Stump wrote: >> @@ -1043,6 +1044,8 @@ virQEMUCapsComputeCmdFlags(const char *help, >> virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_SERIAL); >> if (strstr(help, "-pcidevice")) >> vi

Re: [libvirt] [PATCH 1/2] qemu: add host-pci-multidomain capability

2014-04-30 Thread Daniel P. Berrange
On Wed, Apr 30, 2014 at 04:04:00PM +0300, Laine Stump wrote: > @@ -1043,6 +1044,8 @@ virQEMUCapsComputeCmdFlags(const char *help, > virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_SERIAL); > if (strstr(help, "-pcidevice")) > virQEMUCapsSet(qemuCaps, QEMU_CAPS_PCIDEVICE); > +if (

[libvirt] [PATCH 1/2] qemu: add host-pci-multidomain capability

2014-04-30 Thread Laine Stump
Quite a long time ago, (apparently between qemu 0.12 and 0.13) qemu quietly began supporting the optional specification of a domain in the host-side address of all pci passthrough commands (by simply prepending it to the bus:slot.function format, as ":bb:ss.f"). Since machines with multiple PCI