summaryrefslogtreecommitdiff
path: root/tests/fdc-test.c
diff options
context:
space:
mode:
authorLiu Yuan <namei.unix@gmail.com>2014-01-03 20:13:12 +0800
committerKevin Wolf <kwolf@redhat.com>2014-01-22 12:07:16 +0100
commit9f23fce7b2e78b917f03ccd366e3e151c0a1a419 (patch)
treeb4685753f05b80200bd7be9a79c4a8aa2570164d /tests/fdc-test.c
parentcf7f616b9d846b1cc21c7b692b5c9ff6f757a5e7 (diff)
downloadqemu-9f23fce7b2e78b917f03ccd366e3e151c0a1a419.tar.gz
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 'tests/fdc-test.c')
0 files changed, 0 insertions, 0 deletions