qemu/tests
Stefan Hajnoczi b53169eae0 blockdev: add sync mode to drive-backup QMP command
The drive-backup command is similar to the drive-mirror command, except
no guest data written after the command executes gets copied.  Add a
sync mode argument which determines whether the entire disk is copied,
just allocated clusters, or only clusters being written to by the guest.

Currently only sync mode 'full' is supported - it copies the entire disk.
For read-only point-in-time snapshots we may only need sync mode 'none'
since the target can be a qcow2 file using the guest's disk as its
backing file (no need to copy the entire disk).  Finally, sync mode
'top' is useful if we wish to preserve the backing chain.

Note that this patch just adds the sync mode argument to drive-backup.
It does not implement sync modes 'top' or 'none'.  This patch is
necessary so we can add a drive-backup HMP command that behaves like the
existing drive-mirror HMP command and takes a sync mode.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-07-15 09:49:00 +02:00
..
libqos libqos/pci: Enable bus mastering 2013-05-08 15:28:49 +02:00
qemu-iotests blockdev: add sync mode to drive-backup QMP command 2013-07-15 09:49:00 +02:00
tcg Merge remote-tracking branch 'mjt/trivial-patches' into staging 2013-05-22 08:22:36 -05:00
.gitignore
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c qjson: to_json() case QTYPE_QSTRING is buggy, rewrite 2013-04-13 19:40:25 +00:00
check-qlist.c
check-qstring.c
fdc-test.c
fw_cfg-test.c fw_cfg: add qtest test case 2013-04-17 10:27:47 -05:00
hd-geo-test.c
i440fx-test.c i440fx-test: add test for PAM functionality 2013-04-17 10:27:47 -05:00
ide-test.c ide-test: fix failure for test_flush 2013-06-14 13:08:15 -05:00
libqtest.c libqtest: only call fclose() on open files 2013-04-30 16:04:14 -05:00
libqtest.h
m48t59-test.c
Makefile int128: optimize and add test cases 2013-07-02 08:17:01 +02:00
qemu-iotests-quick.sh
rtc-test.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
test-aio.c
test-coroutine.c
test-cutils.c
test-hbitmap.c
test-int128.c int128: optimize and add test cases 2013-07-02 08:17:01 +02:00
test-iov.c
test-mul64.c
test-qmp-commands.c
test-qmp-input-strict.c
test-qmp-input-visitor.c qapi: add native list coverage for QMP input visitor tests 2013-05-23 09:44:21 -04:00
test-qmp-output-visitor.c qapi: pad GenericList value fields to 64 bits 2013-05-30 09:08:38 -04:00
test-string-input-visitor.c
test-string-output-visitor.c
test-thread-pool.c add a header file for atomic operations 2013-07-04 17:42:49 +02:00
test-visitor-serialization.c qapi: add native list coverage for visitor serialization tests 2013-05-23 09:44:21 -04:00
test-x86-cpuid.c
test-xbzrle.c
tmp105-test.c libqos: Relocate I2C files 2013-05-03 12:03:14 -05:00