
22 Jul
2015
22 Jul
'15
10:41 p.m.
On 07/17/2015 02:43 PM, Laine Stump wrote:
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 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. ---
new in V2 (previously was a part of the patch to add pcie-root-port, but adding the attributes under <model> instead of <target>)
src/qemu/qemu_command.c | 6 ++++-- tests/qemuxml2argvdata/qemuxml2argv-q35.args | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-)
ACK John