Skip to content

Conversation

@rbradford
Copy link
Member

@rbradford rbradford commented Jul 19, 2019

The QCOW2 format is documented here:
https://git.qemu.org/?p=qemu.git;a=blob;f=docs/interop/qcow2.txt;hb=HEAD

The only difference between v2 and v3 is the addition of some extra
fields into the header in v3 for which there are default values in v2.

This introduces a new unit test for the behaviour but it has been
manually verified by the converting the image from v3 to v2
with a command like:

qemu-img convert -O qcow2 -o compat=0.10 clear-29620-cloud.img clear-29620-cloud.img.v2

Fixes: #24

Signed-off-by: Rob Bradford [email protected]

The QCOW2 format is documented here:
https://git.qemu.org/?p=qemu.git;a=blob;f=docs/interop/qcow2.txt;hb=HEAD

The only difference between v2 and v3 is the addition of some extra
fields into the header in v3 for which there are default values in v2.

This introduces a new unit test for the behaviour but it has been
manually verified by the converting the image from v3 to v2
with a command like:

qemu-img convert -O qcow2 -o compat=0.10 clear-29620-cloud.img clear-29620-cloud.img.v2

Signed-off-by: Rob Bradford <[email protected]>
@rbradford
Copy link
Member Author

I'm intentionally not adding an integration test as the change is well covered by unit testing.

@sameo sameo merged commit 3f02cca into cloud-hypervisor:master Jul 19, 2019
@rbradford rbradford deleted the qcow2-v2 branch August 12, 2020 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cloud-hypervisor doesn't recognise Fedora QCOW (add support for QCOW2.)

2 participants