[libvirt] [PATCH 0/3] Introduce QEMUD_CMD_FLAG_PCI_MULTIBUS for -device bus=pci(.0)

Niels de Vos devos at fedoraproject.org
Tue Feb 1 16:22:00 UTC 2011

This series introduces a new (fake) flag for the qemu binary. The flag
QEMUD_CMD_FLAG_PCI_MULTIBUS is used to mark an architecture to be able to
have multiple PCI-busses. When executing qemu, -device should take either a
bus-string like "pci" or "pci.0". Where the latter can be used to select the
appropriate bus for the PCI-device.

Currently libvirt breaks starting qemu-system-$ARCH as the -device option
always sets bus=pci.0. On most architectures, there is no PCI-Multibus
support in qemu. This series enables libvirt to select the architectures that
support PCI-multibus and sets the flag for x86_64 and i686 only.

- https://bugzilla.redhat.com/show_bug.cgi?id=667345

Kind regards,

Niels de Vos (3):
  qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS
  Set QEMUD_CMD_FLAG_PCI_MULTIBUS for x86_64 and i686 architectures
  Add myself to AUTHORS

 AUTHORS                      |    1 +
 src/qemu/qemu_capabilities.h |    1 +
 src/qemu/qemu_command.c      |   67 ++++++++++++++++++++++++++---------------
 src/qemu/qemu_command.h      |   18 +++++++----
 src/qemu/qemu_hotplug.c      |    5 ++-
 5 files changed, 59 insertions(+), 33 deletions(-)


More information about the libvir-list mailing list