]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/e2image.c
e2image: Support for conversion QCOW2 image into raw
authorLukas Czerner <lczerner@redhat.com>
Wed, 18 May 2011 12:20:47 +0000 (14:20 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 May 2011 15:53:11 +0000 (11:53 -0400)
commit92dcfb7692da5c3ed61899c49c0915f889815c45
treede24d0f643ea980557c9e0cf27b034c24a9cf98f
parentbf0449b1a6547a566975cb32c18a2ba5972deace
e2image: Support for conversion QCOW2 image into raw

This commit adds support for converting QCOW2 image created previously
with e2image into raw image. The QCOW2 image is detected automatically,
so there is not new option. Just use following command:

  e2image -r image.qcow image.raw

No that this tool is aimed to quickly convert qcow2 image created with
e2image into raw image. In order to improve speed we are doing some
assumption I believe might not be true for regular qcow2 images. So it
was not tested with regular QCOW2 images and it might not work with
them. The intention of this tool is only convert images previously
created by e2image.

Note that there is nothing special with QCOW2 images created by e2images
and it can be used with tools like qemu-img, or qemu-nbd without any
problems.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.8.in
misc/e2image.c