<div dir="ltr"><div>Hi,<br><br></div>the .img is a file that will be exposed to the guest VM as a block device (HD). You can create an empty one using qemu-img or dd (full space allocation), or use one that already have an OS image whitin.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Atte.<br>Daniel Romero P.<br><br></div></div>
<br><div class="gmail_quote">On Fri, Mar 9, 2018 at 12:51 AM, amey pandit <span dir="ltr"><<a href="mailto:panditamey1@gmail.com" target="_blank">panditamey1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am trying to create vm using virsh create x.xml. But I am confus<span style="background-color:rgb(255,0,0)"><span></span></span>ed as what is the .img file that is required. <br></div><div>Here is the Disk tag from my xml.<br> <disk type='file' device='disk'> <br>      <driver name='qemu' type='qcow2'/> <br><span style="background-color:rgb(255,255,0)"><span style="color:rgb(255,0,0)"><u>      <source file='/xxx/xx_vm.img'/>       <wbr>          </u> </span></span><br>      <target dev='hda'/> <br>    </disk> <br></div><div>Is it .ova file that is converted to .img ?<br></div>If anybody have links or some guide related to the topic that would be really helpful.<br></div><div><br></div>Thank you,<br></div>Amey<br></div>
<br>______________________________<wbr>_________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/libvirt-users</a><br></blockquote></div><br></div>