On 18.07.2013 07:03, Stefan Hajnoczi wrote:
On Mon, Jul 15, 2013 at 12:55:05PM +0200, Peter Lieven wrote:
@@ -114,16 +115,29 @@ static void blk_mig_unlock(void)
static void blk_send(QEMUFile *f, BlkMigBlock * blk)
{
int len;
+uint64_t flags = BLK_MIG_FLAG_DEVICE_BLOCK;
+
+if
On Mon, Jul 15, 2013 at 12:55:05PM +0200, Peter Lieven wrote:
@@ -114,16 +115,29 @@ static void blk_mig_unlock(void)
static void blk_send(QEMUFile *f, BlkMigBlock * blk)
{
int len;
+uint64_t flags = BLK_MIG_FLAG_DEVICE_BLOCK;
+
+if (migrate_zero_blocks()
On 15.07.2013 23:27, Eric Blake wrote:
On 07/15/2013 04:55 AM, Peter Lieven wrote:
this patch adds an efficient encoding for zero blocks by
adding a new flag indiciating a block is completly zero.
s/indiciating/indicating/
s/completly/completely/
additionally bdrv_write_zeros() is used at
this patch adds an 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.
v2-v3:
- changed type of flags in blk_send() from int to uint64_t
- added migration
On 07/15/2013 04:55 AM, Peter Lieven wrote:
this patch adds an efficient encoding for zero blocks by
adding a new flag indiciating a block is completly zero.
s/indiciating/indicating/
s/completly/completely/
additionally bdrv_write_zeros() is used at the destination
to efficiently write