Re: [Qemu-devel] [PATCH 8/8] block-migration: efficiently encode zero blocks

2013-06-24 Thread Peter Lieven
Am 24.06.2013 16:32, schrieb Paolo Bonzini: > Il 22/06/2013 22:58, Peter Lieven ha scritto: >> this patch adds a efficient encoding for zero blocks by >> adding a new flag indiciating a block is completly zero. >> >> additionally bdrv_write_zeros() is used at the destination >> to efficiently write

Re: [Qemu-devel] [PATCH 8/8] block-migration: efficiently encode zero blocks

2013-06-24 Thread Paolo Bonzini
Il 22/06/2013 22:58, Peter Lieven ha scritto: > this patch adds a efficient encoding for zero blocks by > adding a new flag indiciating a block is completly zero. > > additionally bdrv_write_zeros() is used at the destination > to efficiently write these zeroes. if the driver supports > it this av

[Qemu-devel] [PATCH 8/8] block-migration: efficiently encode zero blocks

2013-06-22 Thread Peter Lieven
this patch adds a efficient encoding for zero blocks by adding a new flag indiciating a block is completly zero. additionally bdrv_write_zeros() is used at the destination to efficiently write these zeroes. if the driver supports it this avoids blindly allocating all sectors consumed by zero block