Yes, you can use qcow2 images with Xen

Xen's Panda mascot

Happy Monday everyone. Today I discovered we can mount QEMU qcow2 images, without converting them to raw first. For example, this would be a typical file based line in a Xen config:

disk = ['file:/path/disk.raw,xvda,w']

For qcow2 images, the syntax is:

disk = ['tap:qcow2:/path/images/disk.qcow2,xvda,w']

Alas, some Linux distros and FreeBSD fail in this configuration. Therefore, a gigantic your mileage may vary warning must be observed before running a test machine with this, even if you live in the rest of the world that now uses the metric system.


Imprint

This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at weblog2017@rubenschade.com. Thanks :).