Re: About .img file while creating vm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

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

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux