On Tue, May 10, 2022 at 17:21:19 +0200, Jiri Denemark wrote:
It just calls migrate QMP command with resume=true without having to
worry about migration capabilities or parameters, storage migration,
etc. since everything has already been done in the normal Perform phase.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_migration.c | 110 ++++++++++++++++++++++++++++++++++++--
1 file changed, 106 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 30c8dbd954..29be797d78 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -4857,6 +4857,51 @@ qemuMigrationSrcRun(virQEMUDriver *driver,
goto error;
}
+
+static int
+qemuMigrationSrcResume(virQEMUDriver *driver,
'driver' is redundant.
+ virDomainObj *vm,
+ const char *cookiein,
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>