]> xenbits.xensource.com Git - libvirt.git/commit
conf: Forbid device alias change on device-update
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Jun 2018 14:05:10 +0000 (16:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 27 Jun 2018 14:43:09 +0000 (16:43 +0200)
commit4ad54a417a1bbe10aeffcce783f4381d8d43f799
treeeec4ca68e5327b301939b438e049236ef15abf51
parent5e9b150fe0491f394c3235f0fdb476262b66e310
conf: Forbid device alias change on device-update

https://bugzilla.redhat.com/show_bug.cgi?id=1585108

When updating a live device users might pass different alias than
the one the device has. Currently, this is silently ignored which
goes against our behaviour for other parts of the device where we
explicitly allow only certain changes and error out loudly on
anything else.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/lxc/lxc_driver.c
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c