On 12/3/19 7:16 AM, Pavel Hrdina wrote: > Libvirt is able to figure this out and it will make usage of the CLI > options more user-friendly. > > For example if users wants to add a new pcie-root-port to existing VM > they have to figure out the latest controller index and call it like > this: > > virt-xml \ > --add-device \ > --controller pci,model=pcie-root-port,index=$nextIndex \ > $VM > > After this change it will be simply: > > virt-xml \ > --add-device \ > --controller pci,model=pcie-root-port \ > $VM > > Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx> - Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list