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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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

Kind regards,
Niels

--
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(-)

-- 
1.7.3.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]