]> git.proxmox.com Git - qemu.git/commit - qapi-schema.json
mirror: allow customizing the granularity
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Jan 2013 16:09:46 +0000 (17:09 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 25 Jan 2013 17:18:34 +0000 (18:18 +0100)
commiteee13dfe302833944d1176677d12a6ea421a94ea
tree53581a0a6c022df243eabdf32cf8e03232113c1c
parent50717e941b9f306a45292621999eeafbaa954418
mirror: allow customizing the granularity

The desired granularity may be very different depending on the kind of
operation (e.g. continuous replication vs. collapse-to-raw) and whether
the VM is expected to perform lots of I/O while mirroring is in progress.

Allow the user to customize it, while providing a sane default so that
in general there will be no extra allocated space in the target compared
to the source.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c
blockdev.c
hmp.c
include/block/block_int.h
qapi-schema.json
qmp-commands.hx