|
|
26ba25 |
From 66e37a444b4b4818957dabadcc4580f1877e4ebb Mon Sep 17 00:00:00 2001
|
|
|
26ba25 |
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
|
26ba25 |
Date: Mon, 1 Oct 2018 10:54:48 +0100
|
|
|
26ba25 |
Subject: [PATCH 02/28] migration/postcopy: Clear have_listen_thread
|
|
|
26ba25 |
|
|
|
26ba25 |
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
26ba25 |
Message-id: <20181001105449.41090-2-dgilbert@redhat.com>
|
|
|
26ba25 |
Patchwork-id: 82326
|
|
|
26ba25 |
O-Subject: [RHEL-8.0 qemu-kvm PATCH 1/2] migration/postcopy: Clear have_listen_thread
|
|
|
26ba25 |
Bugzilla: 1608765
|
|
|
26ba25 |
RH-Acked-by: Pankaj Gupta <pagupta@redhat.com>
|
|
|
26ba25 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
26ba25 |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
Clear have_listen_thread when we exit the thread.
|
|
|
26ba25 |
The fallout from this was that various things thought there was
|
|
|
26ba25 |
an ongoing postcopy after the postcopy had finished.
|
|
|
26ba25 |
|
|
|
26ba25 |
The case that failed was postcopy->savevm->loadvm.
|
|
|
26ba25 |
|
|
|
26ba25 |
This corresponds to RH bug https://bugzilla.redhat.com/show_bug.cgi?id=1608765
|
|
|
26ba25 |
|
|
|
26ba25 |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
26ba25 |
Message-Id: <20180914170430.54271-2-dgilbert@redhat.com>
|
|
|
26ba25 |
Reviewed-by: Peter Xu <peterx@redhat.com>
|
|
|
26ba25 |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
26ba25 |
(cherry picked from commit 9cf4bb8730c669c40550e635a9e2b8ee4f1664ca)
|
|
|
26ba25 |
Manual merge due to context
|
|
|
26ba25 |
|
|
|
26ba25 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
26ba25 |
---
|
|
|
26ba25 |
migration/savevm.c | 1 +
|
|
|
26ba25 |
1 file changed, 1 insertion(+)
|
|
|
26ba25 |
|
|
|
26ba25 |
diff --git a/migration/savevm.c b/migration/savevm.c
|
|
|
26ba25 |
index 6c539d1..6a8d363 100644
|
|
|
26ba25 |
--- a/migration/savevm.c
|
|
|
26ba25 |
+++ b/migration/savevm.c
|
|
|
26ba25 |
@@ -1620,6 +1620,7 @@ static void *postcopy_ram_listen_thread(void *opaque)
|
|
|
26ba25 |
migration_incoming_state_destroy();
|
|
|
26ba25 |
qemu_loadvm_state_cleanup();
|
|
|
26ba25 |
|
|
|
26ba25 |
+ mis->have_listen_thread = false;
|
|
|
26ba25 |
return NULL;
|
|
|
26ba25 |
}
|
|
|
26ba25 |
|
|
|
26ba25 |
--
|
|
|
26ba25 |
1.8.3.1
|
|
|
26ba25 |
|