]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: forbid updating any attributes of an interface <backend> with update-device
authorLaine Stump <laine@redhat.com>
Wed, 15 Feb 2023 20:29:56 +0000 (15:29 -0500)
committerLaine Stump <laine@redhat.com>
Tue, 21 Feb 2023 19:44:54 +0000 (14:44 -0500)
commit110d209263022c6029e398116154562518e4a474
treec002a0c067b719116a41b5ff1f2180ae7b36cb29
parent9445a8e398b3ee099ce2a6e3dfa8e13f74b99095
qemu: forbid updating any attributes of an interface <backend> with update-device

Changing any of the attributes of an <interface>'s <backend> would
require removing and re-adding the interface for the new setting to
take effect, so fail any update-device that changes anything in
<backend>

Resolves: https://bugzilla.redhat.com/2169245
Signed-off-by: Laine Stump <laine@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_hotplug.c