Re: [libvirt] [PATCH 1/3] qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS

2011-02-02 Thread Eric Blake
On 02/01/2011 09:22 AM, Niels de Vos wrote: > -virBufferVSprintf(buf, ",bus=pci.0,addr=0x%x", info->addr.pci.slot); > +if (qemuCmdFlags & QEMUD_CMD_FLAG_PCI_MULTIBUS) > +virBufferVSprintf(buf, ",bus=pci.0,addr=0x%x", > info->addr.pci.slot); > +else > +

Re: [libvirt] [PATCH 1/3] qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS

2011-02-02 Thread Daniel P. Berrange
On Tue, Feb 01, 2011 at 04:22:01PM +, Niels de Vos wrote: > Depending if the qemu binary supports multiple pci-busses, the device > options will contain "bus=pci" or "bus=pci.0". > > Signed-off-by: Niels de Vos Is that your primary email addr you want recorded in the GIT history & AUTHORS fi

[libvirt] [PATCH 1/3] qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS

2011-02-01 Thread Niels de Vos
Depending if the qemu binary supports multiple pci-busses, the device options will contain "bus=pci" or "bus=pci.0". Signed-off-by: Niels de Vos --- src/qemu/qemu_capabilities.h |1 + src/qemu/qemu_command.c | 61 - src/qemu/qemu_command.h