]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Reset all migration parameters
authorJiri Denemark <jdenemar@redhat.com>
Tue, 27 Feb 2018 16:09:17 +0000 (17:09 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commiteb54cb473a8d140e0dd4a7bd42e8bcd72b056368
treefe4a6b77be9dfb9bb3607ff5fec64d38ec8adbe7
parent71cc5d3283660f308419f810d3f469f56766841c
qemu: Reset all migration parameters

Restore the original values of all migration parameters we store in
qemuDomainJobObj instead of explicitly resting only a limited set of
them.

The result is not strictly equivalent to the previous code wrt reseting
TLS state because the previous code would only reset it if we changed it
before while the new code will reset it always if QEMU supports TLS
migration. This is not a problem for the parameters themselves, but it
can cause spurious errors about missing TLS objects being logged at the
end of non-TLS migration. This issue will be fixed ~50 patches later.

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