On Thu, May 30, 2013 at 5:37 AM, Fam Zheng f...@redhat.com wrote:
On Mon, 04/29 09:42, Stefan Hajnoczi wrote:
+
+static void coroutine_fn backup_run(void *opaque)
+{
+BackupBlockJob *job = opaque;
+BlockDriverState *bs = job-common.bs;
+assert(bs);
+
+int64_t start, end;
On Mon, 04/29 09:42, Stefan Hajnoczi wrote:
+
+static void coroutine_fn backup_run(void *opaque)
+{
+BackupBlockJob *job = opaque;
+BlockDriverState *bs = job-common.bs;
+assert(bs);
+
+int64_t start, end;
+
+start = 0;
+end = DIV_ROUND_UP(bdrv_getlength(bs) /
On Wed, May 08, 2013 at 02:39:25PM +0200, Kevin Wolf wrote:
Am 29.04.2013 um 09:42 hat Stefan Hajnoczi geschrieben:
Sorry, but this patch doesn't look very close to mergable yet.
Fair enough. I had some ideas on decoupling the backup block job from
the core block layer, making fewer
On Wed, May 08, 2013 at 02:39:25PM +0200, Kevin Wolf wrote:
Am 29.04.2013 um 09:42 hat Stefan Hajnoczi geschrieben:
diff --git a/include/block/blockjob.h b/include/block/blockjob.h
index c290d07..6f42495 100644
--- a/include/block/blockjob.h
+++ b/include/block/blockjob.h
@@ -50,6
Am 14.05.2013 um 15:24 hat Stefan Hajnoczi geschrieben:
On Wed, May 08, 2013 at 02:39:25PM +0200, Kevin Wolf wrote:
Am 29.04.2013 um 09:42 hat Stefan Hajnoczi geschrieben:
diff --git a/include/block/blockjob.h b/include/block/blockjob.h
index c290d07..6f42495 100644
---
On Tue, May 14, 2013 at 3:43 PM, Kevin Wolf kw...@redhat.com wrote:
Am 14.05.2013 um 15:24 hat Stefan Hajnoczi geschrieben:
On Wed, May 08, 2013 at 02:39:25PM +0200, Kevin Wolf wrote:
Am 29.04.2013 um 09:42 hat Stefan Hajnoczi geschrieben:
diff --git a/include/block/blockjob.h
Am 29.04.2013 um 09:42 hat Stefan Hajnoczi geschrieben:
From: Dietmar Maurer diet...@proxmox.com
backup_start() creates a block job that copies a point-in-time snapshot
of a block device to a target block device.
We call backup_do_cow() for each write during backup. That function
reads
Il 08/05/2013 14:39, Kevin Wolf ha scritto:
Am 29.04.2013 um 09:42 hat Stefan Hajnoczi geschrieben:
From: Dietmar Maurer diet...@proxmox.com
backup_start() creates a block job that copies a point-in-time snapshot
of a block device to a target block device.
We call backup_do_cow() for each
From: Dietmar Maurer diet...@proxmox.com
backup_start() creates a block job that copies a point-in-time snapshot
of a block device to a target block device.
We call backup_do_cow() for each write during backup. That function
reads the original data from the block device before it gets