Hi,

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.

Atte.
Daniel Romero P.


On Fri, Mar 9, 2018 at 12:51 AM, amey pandit <panditamey1@gmail.com> wrote:
Hi,

I am trying to create vm using virsh create x.xml. But I am confused as what is the .img file that is required.
Here is the Disk tag from my xml.
 <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/xxx/xx_vm.img'/>                 
      <target dev='hda'/>
    </disk>
Is it .ova file that is converted to .img ?
If anybody have links or some guide related to the topic that would be really helpful.

Thank you,
Amey

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users