.type = VSH_OT_STRING,
@@ -404,6 +414,8 @@ cmdSnapshotCreateAs(vshControl *ctl, const vshCmd *cmd)
flags |= VIR_DOMAIN_SNAPSHOT_CREATE_ATOMIC;
if (vshCommandOptBool(cmd, "live"))
flags |= VIR_DOMAIN_SNAPSHOT_CREATE_LIVE;
+if (vshCommandOptBool(cmd, "
On 16/6/9 下午7:22, Maxim Nestratov wrote:
08.06.2016 9:21, Rudy Zhang пишет:
Add new function about block backup, it supports the drive-backup
function
in qemu, it supports three modes: full, top, incremental.
How to use it? As usual, we must do the full backup at first, if it's
successfull
For Backuping the disk image.
It supports tree backup mode: full, top, incremental.
Incremental backup mode must do full or top backup first,
and it exists dirty bitmap to trace io.
Signed-off-by: longyou
---
docs/apibuild.py | 3 ++-
qemu drive support block backup, it use qmp command "drive-backup"
to start the block, and use qmp command "block-dirty-bitmap-add"/
"block-dirty-bitmap-clear"/"block-dirty-bitmap-remove" to manage
the bitmap. Bitmap is used to incremental backup.
Signed-off-by: longyou
---
libvirt test supports drive-backup.
Signed-off-by: longyou
---
tests/qemucaps2xmldata/all_1.6.0-1.caps| 1 +
tests/qemucaps2xmldata/nodisksnapshot_1.6.0-1.caps | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/qemucaps2xmldata/all_1.6.0-1.caps
support blockbackup in virsh command. Use it as:
blockbackup[--mode ] [--bandwidth ]
[--format ] [--wait] [--verbose]
Signed-off-by: longyou
---
tools/virsh-domain.c | 149 +++
1 file changed, 149 insertions(+)
diff --git
Commit id '7b7600b3' added qemuMigrationDriveMirror to handle NBD
mirroring, but passed the migrate_speed listed in MiB/s to be used for
the mirror_speed which expects a bytes/s value.
This patch will convert the migrate_speed value to its mirror_speed
equivalent.
Signed-off-by: Rudy Zhang
Commit id '7b7600b3' added qemuMigrationDriveMirror to handle NBD
mirroring, but passed the migrate_speed listed in MiB/s to be used for
the mirror_speed which expects a bytes/s value.
This patch will convert the migrate_speed value to its mirror_speed
equivalent.
Signed-off-by: Rudy Zhang
On 16/3/31 上午5:47, John Ferlan wrote:
On 03/28/2016 12:02 AM, Rudy Zhang wrote:
Block migration speed is differect from memory migration speed, because
it not convert speed from Mb/sec to bytes/sec in the drive-mirror job.
"different"
Perhaps better stated:
Commit id '7b760
Block migration speed is differect from memory migration speed, because
it not convert speed from Mb/sec to bytes/sec in the drive-mirror job.
Signed-off-by: Rudy Zhang <rudyflyzh...@gmail.com>
---
src/qemu/qemu_migration.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
10 matches
Mail list logo