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

Laine Stump laine at laine.org
Thu May 1 12:09:59 UTC 2014


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"))
>>          virQEMUCapsSet(qemuCaps, QEMU_CAPS_PCIDEVICE);
>> +    if (strstr(help, "[seg:]bus"))
>> +        virQEMUCapsSet(qemuCaps, QEMU_CAPS_HOST_PCI_MULTIDOMAIN);
> I'd suggest tightening that up a little to at least 'host=[seg:]bus'

Okay, I've done that locally (I was undecided about where to draw the
line when I wrote the patch. It seems a bit odd to be checking the
-pcidevice help for clues on the format of -device pci-assign anyway....)




More information about the libvir-list mailing list