commit | f88e1a4201e31cac0438df395dfcdd45ac35c17d | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Thu Dec 16 13:52:15 2010 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Dec 17 16:11:03 2010 +0100 |
tree | b3486398166f236d7ae47b9eb1f941e9441b6ae3 | |
parent | 53f76e5857b66dd7fa90efa9ea8326eff5aa693f [diff] |
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>