[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sheepdog: fix clone operation by 'qemu-img crea
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] sheepdog: fix clone operation by 'qemu-img create -b' |
Date: |
Mon, 6 Jan 2014 12:21:49 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jan 03, 2014 at 08:13:12PM +0800, Liu Yuan wrote:
> We should pass base_inode->vdi_id to base_vdi_id of SheepdogVdiReq so that
> sheep
> can create a clone instead a fresh volume.
>
> This fixes following command:
>
> qemu-create -b sheepdog:base sheepdog:clone
>
> so users can boot sheepdog:clone as a normal volume.
>
> Cc: address@hidden
> Cc: Kevin Wolf <address@hidden>
> Cc: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Liu Yuan <address@hidden>
> ---
> block/sheepdog.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next
Stefan