Liu Yuan 9f23fce7b2 sheepdog: fix clone operation by 'qemu-img create -b'
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@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-01-22 12:07:16 +01:00
..
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-12-20 16:26:16 +01:00
2013-09-12 10:12:47 +02:00
2013-08-19 15:52:19 +02:00
2013-12-16 10:12:20 +01:00
2013-12-20 16:26:16 +01:00
2013-12-16 10:12:20 +01:00
2013-11-29 13:40:36 +01:00
2013-09-12 10:12:48 +02:00