[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] Converting qcow2 image on the fly to raw format
From: |
Nir Soffer |
Subject: |
[Qemu-discuss] Converting qcow2 image on the fly to raw format |
Date: |
Mon, 9 Jul 2018 19:38:05 +0300 |
We are discussing importing VM images to KubVirt. The goal is to be
able to import an existing qcow2 disk, probably some appliance stored
on http server, and and convert it to raw format for writing to storage.
This can be also useful for for oVirt for importing OVA, since we like to
pack
disks in qcow2 format inside OVA, but the user may like to use raw disks, or
for uploading existing disks.
Of course converting the image using qemu-img is easy, but requires
downloading the image to temporary disk. We would like to avoid temporary
disks, or telling users to convert the image.
Base on the discussion we had here:
https://lists.ovirt.org/archives/list/address@hidden/thread/GNAVJ253FP65QUSOONES5XZGRIDX5ABC/#YMLSEGU7PN3MX5MUORGEGGAQLLSL4KKJ
I think this is impossible since qcow2 is not built for streaming. But both
Richard and Eric suggested some solutions.
The flow is:
qcow2 image -- http --> importer -> raw file
Is it possible to implement the importer using qemu-img and qemu-nbd,
or maybe nbdkit?
Nir
- [Qemu-discuss] Converting qcow2 image on the fly to raw format,
Nir Soffer <=
- Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format, Kevin Wolf, 2018/07/09
- Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format, Richard W.M. Jones, 2018/07/09
- Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format, Kevin Wolf, 2018/07/09
- Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format, Richard W.M. Jones, 2018/07/09
- Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format, Nir Soffer, 2018/07/09
- Re: [Qemu-discuss] Converting qcow2 image on the fly to raw format, Adam Litke, 2018/07/11
- Re: [Qemu-discuss] [kubevirt-dev] Re: Converting qcow2 image on the fly to raw format, Daniel P . Berrangé, 2018/07/16
- Re: [Qemu-discuss] [kubevirt-dev] Re: Converting qcow2 image on the fly to raw format, Nir Soffer, 2018/07/19
- Re: [Qemu-discuss] [kubevirt-dev] Re: Converting qcow2 image on the fly to raw format, Richard W.M. Jones, 2018/07/19
- Re: [Qemu-discuss] [kubevirt-dev] Re: Converting qcow2 image on the fly to raw format, Nir Soffer, 2018/07/19