qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?
@ 2017-11-13 17:14 Peter Maydell
  2017-11-13 17:29 ` Peter Maydell
  2017-11-13 17:55 ` Eric Blake
  0 siblings, 2 replies; 12+ messages in thread
From: Peter Maydell @ 2017-11-13 17:14 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Qemu-block, Kevin Wolf, Max Reitz

I have a qcow v1 file which I created by mistake (forgetting that
you need to tell qemu-img create 'qcow2' and not just 'qcow'),
which I want to convert to a v2 file so I can put snapshots into
it. But when I try to do this with qemu-img convert it creates a
v3 file instead:

$ file hda-old.qcow
hda-old.qcow: QEMU QCOW Image (v1), 5368709120 bytes
$ build/x86/qemu-img convert -O qcow2 hda-old.qcow hda.qcow2
$ file hda.qcow2
hda.qcow2: QEMU QCOW Image (v3), 5368709120 bytes

and if you then try to use that in QEMU it complains:

qemu-system-aarch64: -drive if=none,file=hda.qcow2,format=qcow,id=hd:
Unsupported qcow version 3

What am I missing here?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-11-14 20:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-13 17:14 [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file? Peter Maydell
2017-11-13 17:29 ` Peter Maydell
2017-11-13 17:58   ` Eric Blake
2017-11-13 18:08     ` Eric Blake
2017-11-14 13:32       ` Max Reitz
2017-11-14 18:45         ` Thomas Huth
2017-11-14 18:46           ` Max Reitz
2017-11-14 20:30             ` John Snow
2017-11-14 20:35               ` Max Reitz
2017-11-14 20:38                 ` John Snow
2017-11-14 20:44                   ` Max Reitz
2017-11-13 17:55 ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).