diff options
| author | Peter Lieven | 2013-07-18 09:48:50 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-07-19 06:29:21 +0200 |
| commit | 323004a39d4d8d33c744a5b108f80bfe6402fca3 (patch) | |
| tree | e232d3657f529de5ac35cd785fa6fa387ab90116 /include/exec/user | |
| parent | block/raw: add bdrv_co_write_zeroes (diff) | |
| download | qemu-323004a39d4d8d33c744a5b108f80bfe6402fca3.tar.gz qemu-323004a39d4d8d33c744a5b108f80bfe6402fca3.tar.xz qemu-323004a39d4d8d33c744a5b108f80bfe6402fca3.zip | |
block-migration: efficiently encode zero blocks
this patch adds a efficient encoding for zero blocks by
adding a new flag indicating a block is completely zero.
additionally bdrv_write_zeros() is used at the destination
to efficiently write these zeroes. depending on the implementation
this avoids that the destination target gets fully provisioned.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
