]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Properly reset migration params when libvirtd restarts
authorJiri Denemark <jdenemar@redhat.com>
Tue, 13 Mar 2018 15:08:49 +0000 (16:08 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commit923565aa7efcc05764ef6ba4160f334dbd6a614e
tree06286dfa8b98085a75426f23e12d4f31483ba2a3
parenta1db79fd73847ee1e76723225b427b88e8c16306
qemu: Properly reset migration params when libvirtd restarts

To be able to restore all migration parameters when libvirtd is
restarting during an active migration job, we need to store the original
values of all parameters (stored in priv->job.migParams) in the status
XML.

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