]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: log error on attempts to modify ACPI index of active device
authorLaine Stump <laine@redhat.com>
Thu, 9 Sep 2021 17:02:56 +0000 (13:02 -0400)
committerLaine Stump <laine@redhat.com>
Thu, 16 Sep 2021 13:29:24 +0000 (09:29 -0400)
commitddba9f1dc945383428a312fbd7a6d370d16f2865
tree55b9d979d27d21dc257d685b1f9436ab637a3a65
parentcf916af4a1f029bfbebe7db0431bc42955479cca
conf: log error on attempts to modify ACPI index of active device

The ACPI index of a device in a running guest can't be modified, and
libvirt doesn't actually attempt to modify it, but it was possible for
a user to request such a modification, and libvirt wouldn't complain,
thus misleading the user into thinking that it had actually been changed.

Resolves: https://bugzilla.redhat.com/1998920

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c