[libvirt] [PATCHv2 08/17] qemu: implement <target chassisNr='n'/> subelement/attribute of <controller>

John Ferlan jferlan at redhat.com
Wed Jul 22 20:41:19 UTC 2015



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




More information about the libvir-list mailing list