]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't delete TLS objects unless TLS migration was requested
authorJiri Denemark <jdenemar@redhat.com>
Wed, 21 Mar 2018 13:57:44 +0000 (14:57 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commit8a159dfb6645e5cebaf428d3a2b70b5b9bb59f62
tree6637d6896f5d81bbd94236610cf628e9480e1df2
parent82a2123699cf71c6767aaf9e1d72cf5a630f37ee
qemu: Don't delete TLS objects unless TLS migration was requested

Trying to delete the non-existent TLS objects results in ugly error
messages in the log, which could easily confuse users. Let's avoid this
confusion by not trying to delete the objects if we were not asked to
enable TLS migration and thus we didn't created the objects anyway.

This patch restores the behavior to the state before "qemu: Reset all
migration parameters".

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c
src/qemu/qemu_migration_params.c
src/qemu/qemu_migration_params.h
src/qemu/qemu_process.c