qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS
authorNiels de Vos <ndevos@redhat.com>
Tue, 1 Feb 2011 16:22:01 +0000 (16:22 +0000)
committerEric Blake <eblake@redhat.com>
Wed, 2 Feb 2011 16:00:46 +0000 (09:00 -0700)
commit0b864eb103274e43441ea784bfc7f99a0771a0f5
treea2529ab9f2aeaaef304699a4ee94e9731295f616
parent68d2c3482fa16801f8e6ca5c42698319bb87f385
qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS

Depending if the qemu binary supports multiple pci-busses, the device
options will contain "bus=pci" or "bus=pci.0".

Only x86_64 and i686 seem to have support for multiple PCI-busses. When
a guest of these architectures is started, set the
QEMUD_CMD_FLAG_PCI_MULTIBUS flag.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
AUTHORS
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_hotplug.c