[PATCH 0/7] qemu: support updating device's bootindex

Peter Krempa pkrempa at redhat.com
Wed Oct 12 13:18:59 UTC 2022

On Tue, Oct 11, 2022 at 21:38:26 +0800, Jiang Jiacheng wrote:
> Support updating device's(support cdrom, disk and network) bootindex
> online in virDomainUpdateDeviceFlags. The new bootindex will take effect
> after guest rebooting. Enable bootindex can be set to -1, it means cancel
> the device's bootindex.
> To use this feature, we need to get the device's xml first and modify
> the boot order in the xml, then use 'virsh update-device <domain> <xml>
> --flag' to update the bootindex. Note that the flag should be --config
> or --persistent if the vm is running.

Your series doesn't pass our test suite, namely there are trailing
spaces and missing '%s' in an error message.

Make sure you run the test suite including syntax-check before your next


More information about the libvir-list mailing list