]> git.proxmox.com Git - qemu.git/commit - qemu-img.c
qemu-img.c: Re-factor img_create()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 16 Dec 2010 12:52:15 +0000 (13:52 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:03 +0000 (16:11 +0100)
commitf88e1a4201e31cac0438df395dfcdd45ac35c17d
treeb3486398166f236d7ae47b9eb1f941e9441b6ae3
parent53f76e5857b66dd7fa90efa9ea8326eff5aa693f
qemu-img.c: Re-factor img_create()

This patch re-factors img_create() moving the code doing the actual
work into block.c where it can be shared with QEMU. This is needed to
be able to create images from QEMU to be used for live snapshots.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
qemu-img.c