<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Ok, i see.</p>
<p>Thanks for your time and question.</p>
<p>I tried something different, it seems work for now.</p>
<div>---<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Nguetchouang Ngongang Kevin<br /> ENS de Lyon<br /> <a href="https://perso.ens-lyon.fr/kevin.nguetchouang/" target="_blank" rel="noreferrer">https://perso.ens-lyon.fr/kevin.nguetchouang/</a></div>
</div>
<p><br /></p>
<p>Le 2022-04-25 18:52, Richard W.M. Jones a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On Mon, Apr 25, 2022 at 05:52:09PM +0100, Richard W.M. Jones wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On Mon, Apr 25, 2022 at 04:11:59PM +0100, Richard W.M. Jones wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On Mon, Apr 25, 2022 at 04:40:15PM +0200, Nguetchouang Ngongang Kevin wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">I want to achieve the external data file creation<br /> <br /> "qemu-img create -o data_file_raw=on,data_file=path/to/file"<br /> <br /> but there is no way to specify those options while using virt-builder.</blockquote>
<br /> Interesting - I had no idea about this feature before.<br /> <br /> At the moment it's not possible to do this within virt-builder,<br /> without patching virt-builder.  I guess maybe you can post-convert the<br /> file after virt-builder has run?<br /> <br /> I grepped the source of virt-install and it doesn't seem like it has<br /> support either.  Nor does libvirt.<br /> <br /> It should be possible to use virt-customize on these special qcow2<br /> files, although I didn't try it.</blockquote>
<br /> I talked to Kevin and apparently this feature was added to qemu to</blockquote>
<br /> (I mean Kevin Wolf)<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">support a particular downstream project (oVirt), but in the end they<br /> didn't use it and also support was never added to libvirt.  So it<br /> doesn't particularly sound like this is a well tested or widely used<br /> feature ...<br /> <br /> Rich.<br /> <br /> <span class="sig">-- <br /> Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank" rel="noreferrer">http://people.redhat.com/~rjones</a><br /> Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank" rel="noreferrer">http://rwmj.wordpress.com</a><br /> virt-builder quickly builds VMs from scratch<br /> <a href="http://libguestfs.org/virt-builder.1.html" target="_blank" rel="noreferrer">http://libguestfs.org/virt-builder.1.html</a></span></blockquote>
</div>
</blockquote>
</body></html>