[libvirt] [PATCH 0/2] qemu: allow multiple buses in PCI address allocation

Ján Tomko jtomko at redhat.com
Fri Feb 15 08:22:41 UTC 2013


This miniseries converts the functions for reserving PCI addresses
to use virDevicePCIAddress which we use in virDeviceInfo for PCI addresses
(not to be confused with virPCIDeviceAddress from virpci.h used for host
devices which should probably be merged with virDevicePCIAddress in a followup
patch) and it makes them accept bus numbers up to 'maxbus', which should be set
when creating the address set if multiple buses are allowed.

Right now it's initialized to zero and these patches have no effect.

Ján Tomko (2):
  qemu: switch PCI address alocation to use virDevicePCIAddress
  qemu: allow multiple buses in PCI address alocation

 src/qemu/qemu_command.c | 288 ++++++++++++++++++++++--------------------------
 src/qemu/qemu_command.h |  13 +--
 src/qemu/qemu_hotplug.c |  16 +--
 3 files changed, 147 insertions(+), 170 deletions(-)

-- 
1.7.12.4




More information about the libvir-list mailing list