qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 36/41] migration/qmp: add command migrate-pause


From: Eric Blake
Subject: Re: [Qemu-devel] [PULL 36/41] migration/qmp: add command migrate-pause
Date: Wed, 9 May 2018 07:59:55 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 05/09/2018 06:24 AM, Juan Quintela wrote:
From: Peter Xu <address@hidden>

It pauses an ongoing migration.  Currently it only supports postcopy.
Note that this command will work on either side of the migration.
Basically when we trigger this on one side, it'll interrupt the other
side as well since the other side will get notified on the disconnect
event.

However, it's still possible that the other side is not notified, for
example, when the network is totally broken, or due to some firewall
configuration changes.  In that case, we will also need to run the same
command on the other side so both sides will go into the paused state.


+++ b/qapi/migration.json
@@ -1211,3 +1211,19 @@
  ##
  { 'command': 'migrate-recover', 'data': { 'uri': 'str' },
    'allow-oob': true }
+
+##
+# @migrate-pause:
+#
+# Pause a migration.  Currently it only supports postcopy.
+#
+# Returns: nothing.
+#
+# Example:
+#
+# -> { "execute": "migrate-pause" }
+# <- { "return": {} }
+#
+# Since: 2.12

Another 2.13 fixup

+##
+{ 'command': 'migrate-pause', 'allow-oob': true }


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]