]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: implement <target chassisNr='n'/> subelement/attribute of <controller>
authorLaine Stump <laine@laine.org>
Wed, 15 Jul 2015 19:16:14 +0000 (15:16 -0400)
committerLaine Stump <laine@laine.org>
Mon, 10 Aug 2015 01:40:40 +0000 (21:40 -0400)
commit18c104516e14ff53ca17760701e99334aae32d29
treebee86dfe49fda14c7c1be17bb99fb4eee416c683
parent8dc88aeed612aeea1ae0d249ec760938cecce5aa
qemu: implement <target chassisNr='n'/> subelement/attribute of <controller>

This uses the new subelement/attribute in two ways:

1) If a "pci-bridge" pci controller has no chassisNr attribute, it
will automatically be set to the controller's index as soon as the
controller's PCI address is known (during
qemuDomainAssignPCIAddresses()).

2) when creating the commandline for a pci-bridge device, chassisNr
will be used to set qemu's chassis_nr option (rather than the previous
practice of hard-coding it to the controller's index).
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-q35.args