[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 10/11] Add XBZRLE option to migrate command
From: |
Orit Wasserman |
Subject: |
[Qemu-devel] [PATCH v7 10/11] Add XBZRLE option to migrate command |
Date: |
Thu, 26 Jan 2012 16:24:56 +0200 |
Signed-off-by: Orit Wasserman <address@hidden>
---
hmp-commands.hx | 21 +++++++++++++--------
qmp-commands.hx | 18 +++++++++++-------
2 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 3b7255d..daa8aae 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -744,24 +744,29 @@ ETEXI
{
.name = "migrate",
- .args_type = "detach:-d,blk:-b,inc:-i,uri:s",
- .params = "[-d] [-b] [-i] uri",
- .help = "migrate to URI (using -d to not wait for completion)"
- "\n\t\t\t -b for migration without shared storage with"
- " full copy of disk\n\t\t\t -i for migration without "
- "shared storage with incremental copy of disk "
- "(base image shared between src and destination)",
+ .args_type = "detach:-d,blk:-b,inc:-i,xbzrle:-x,uri:s",
+ .params = "[-d] [-b] [-i] [-x] uri",
+ .help = "migrate to URI"
+ "\n\t -d to not wait for completion"
+ "\n\t -b for migration without shared storage with"
+ " full copy of disk"
+ "\n\t -i for migration without"
+ " shared storage with incremental copy of disk"
+ " (base image shared between source and destination)"
+ "\n\t -x to use XBZRLE page delta compression",
.user_print = monitor_user_noop,
.mhandler.cmd_new = do_migrate,
},
STEXI
address@hidden migrate [-d] [-b] [-i] @var{uri}
address@hidden migrate [-d] [-b] [-i] [-x] @var{uri}
@findex migrate
Migrate to @var{uri} (using -d to not wait for completion).
-b for migration with full copy of disk
-i for migration with incremental copy of disk (base image is shared)
+ -x to use XBZRLE page delta compression
+
ETEXI
{
diff --git a/qmp-commands.hx b/qmp-commands.hx
index ad4e328..6108de7 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -424,13 +424,16 @@ EQMP
{
.name = "migrate",
- .args_type = "detach:-d,blk:-b,inc:-i,uri:s",
- .params = "[-d] [-b] [-i] uri",
- .help = "migrate to URI (using -d to not wait for completion)"
- "\n\t\t\t -b for migration without shared storage with"
- " full copy of disk\n\t\t\t -i for migration without "
- "shared storage with incremental copy of disk "
- "(base image shared between src and destination)",
+ .args_type = "detach:-d,blk:-b,inc:-i,xbzrle:-x,uri:s",
+ .params = "[-d] [-b] [-i] [-x] uri",
+ .help = "migrate to URI"
+ "\n\t -d to not wait for completion"
+ "\n\t -b for migration without shared storage with"
+ " full copy of disk"
+ "\n\t -i for migration without"
+ " shared storage with incremental copy of disk"
+ " (base image shared between source and destination)"
+ "\n\t -x to use XBZRLE page delta compression",
.user_print = monitor_user_noop,
.mhandler.cmd_new = do_migrate,
},
@@ -446,6 +449,7 @@ Arguments:
- "blk": block migration, full disk copy (json-bool, optional)
- "inc": incremental disk copy (json-bool, optional)
- "uri": Destination URI (json-string)
+- "xbzrle": to use XBZRLE page delta compression
Example:
--
1.7.6.5
- [Qemu-devel] [PATCH v7 00/11] XBRLE delta for live migration of large memory app, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 01/11] Add cache handling functions, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 03/11] Add save_block_hdr function, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 04/11] Add host_from_stream_offset_versioned function, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 02/11] Add uleb encoding/decoding functions, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 07/11] Add XBZRLE parameters to MigrationState, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 06/11] Add MigrationParams structure, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 05/11] Add XBZRLE to ram_save_block and ram_save_live, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 08/11] Add migration capabilties, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 09/11] Add set_cachesize command, Orit Wasserman, 2012/01/26
- [Qemu-devel] [PATCH v7 10/11] Add XBZRLE option to migrate command,
Orit Wasserman <=
- [Qemu-devel] [PATCH v7 11/11] Add XBZRLE statstics information, Orit Wasserman, 2012/01/26