diff options
| author | Liu Yuan <namei.unix@gmail.com> | 2014-01-03 20:13:12 +0800 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-22 12:07:16 +0100 |
| commit | 9f23fce7b2e78b917f03ccd366e3e151c0a1a419 (patch) | |
| tree | b4685753f05b80200bd7be9a79c4a8aa2570164d /qemu-io-cmds.c | |
| parent | cf7f616b9d846b1cc21c7b692b5c9ff6f757a5e7 (diff) | |
| download | focaccia-qemu-9f23fce7b2e78b917f03ccd366e3e151c0a1a419.tar.gz focaccia-qemu-9f23fce7b2e78b917f03ccd366e3e151c0a1a419.zip | |
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>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions