]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't reset TLS in qemuMigrationRun
authorJiri Denemark <jdenemar@redhat.com>
Wed, 5 Apr 2017 08:24:47 +0000 (10:24 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 7 Apr 2017 11:43:37 +0000 (13:43 +0200)
commita88c250d8693ae198d42cf26e2b7b1e190e94637
treee70645e50c4740d2442c66fa08935d99840c0676
parent9d677e6a6ba075f489f791b6922a5dadf0e0c79f
qemu: Don't reset TLS in qemuMigrationRun

Finished qemuMigrationRun does not mean the migration itself finished
(it might have just switched to post-copy mode). While resetting TLS
parameters is probably OK at this point even if migration is still
running, we want to consolidate the code which resets various migration
parameters. Thus qemuMigrationResetTLS will be called from the Confirm
phase (or at the end of the Perform phase in case of v2 protocol), when
migration is either canceled or finished.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_migration.c