]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainChangeNet: Error when boot index changes in live XML
authorAdam Julis <ajulis@redhat.com>
Fri, 22 Mar 2024 08:12:26 +0000 (09:12 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Mar 2024 09:49:40 +0000 (10:49 +0100)
commit68212711230f60bd430660510eb12bd3dfb751e9
tree361c016d11aa65659ef9a1b4a831d3cba2206c06
parenta57617dca5589bfd7ee83daf47512d67cd09d4a6
qemuDomainChangeNet: Error when boot index changes in live XML

If the original code detected a missing or null boot index in the
new XML, it automatically added the current value. This
autocompletion was incorrect because it was impossible to
distinguish between user intent and user error - changing the
boot order itself is forbidden and should always be an error.

Resolves: https://issues.redhat.com/browse/RHEL-23416
Fixes: aa3e07caec6179dfa6479deab14a21a493637d53
Signed-off-by: Adam Julis <ajulis@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_hotplug.c