Re: [Qemu-devel] [PATCH v3] qemu-img: add the simplest format recognition

2017-12-04 Thread Kevin Wolf
Am 02.12.2017 um 00:49 hat Klim Kireev geschrieben: > Now, if you type something like > > qemu-img create disk.qcow2 1G > or > qemu-img dd if=/dev/sda of=disk.qcow2 > > it creates a raw image and if you need you should > manually specify an image format with -f qcow2. It would > be more convenien

[Qemu-devel] [PATCH v3] qemu-img: add the simplest format recognition

2017-12-01 Thread Klim Kireev
Now, if you type something like qemu-img create disk.qcow2 1G or qemu-img dd if=/dev/sda of=disk.qcow2 it creates a raw image and if you need you should manually specify an image format with -f qcow2. It would be more convenient if it could be assumed from an extension. This patch adds a simple