]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Don't pretend that we support secrets for media change
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Oct 2018 12:34:01 +0000 (14:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Oct 2018 10:37:07 +0000 (12:37 +0200)
commit6a840537894b84d1caf38e0da67a178f101052a2
tree23e888852a533381dec3146ce57d730c6bf9e890
parentf479b342451aa047086442e1df1b6797fbf37925
qemu: hotplug: Don't pretend that we support secrets for media change

Old media changing code does not bother setting up the secrets for new
media or actually removing/adding of the corresponding objects.

Additionally it uses secrets setup for the old image to be removed as
the secret for the new image which is wrong.

Remove the support for secrets while changing media for the legacy
approach. The only reasonable way to fix it is when using blockdev.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_hotplug.c