]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Don't reset TLS in qemuMigrationCancel
authorJiri Denemark <jdenemar@redhat.com>
Wed, 5 Apr 2017 12:44:26 +0000 (14:44 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 7 Apr 2017 11:43:37 +0000 (13:43 +0200)
Migration parameters are either reset by the main migration code path or
from qemuProcessRecoverMigration* in case libvirtd is restarted during
migration.

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

index 87506c73adcf0c8e4049fe3858cd534986666ef7..392632566f5e1cd74d10585b6bc245eff89b79b5 100644 (file)
@@ -5560,9 +5560,6 @@ qemuMigrationCancel(virQEMUDriverPtr driver,
     if (qemuDomainObjExitMonitor(driver, vm) < 0 || (storage && !blockJobs))
         goto endsyncjob;
 
-    ignore_value(qemuMigrationResetTLS(driver, vm, QEMU_ASYNC_JOB_NONE,
-                                       NULL, NULL));
-
     if (!storage) {
         ret = 0;
         goto cleanup;