[sheepdog] [PATCH] sheepdog: fix clone operation by 'qemu-img create -b'

Stefan Hajnoczi stefanha at redhat.com
Mon Jan 6 05:21:49 CET 2014


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: qemu-devel at nongnu.org
> Cc: Kevin Wolf <kwolf at redhat.com>
> Cc: Stefan Hajnoczi <stefanha at redhat.com>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  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



More information about the sheepdog mailing list