Re: [Qemu-devel] [PATCH 7/7] block: assign backing relationship in drive-backup

2013-07-04 Thread Stefan Hajnoczi
On Tue, Jul 02, 2013 at 01:59:49PM +0800, Fam Zheng wrote: > Assign source image as the backing hd of target bs, so reading target bs > gets the point-in-time copy of data from source image. > > Signed-off-by: Fam Zheng > --- > block/backup.c | 13 + > 1 file changed, 13 insertions(+

[Qemu-devel] [PATCH 7/7] block: assign backing relationship in drive-backup

2013-07-01 Thread Fam Zheng
Assign source image as the backing hd of target bs, so reading target bs gets the point-in-time copy of data from source image. Signed-off-by: Fam Zheng --- block/backup.c | 13 + 1 file changed, 13 insertions(+) diff --git a/block/backup.c b/block/backup.c index 4e9f927..2dd0540 10