[libvirt-users] About .img file while creating vm

Daniel Romero romero.cl at gmail.com
Fri Mar 9 15:55:23 UTC 2018


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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180309/b22ed738/attachment.htm>


More information about the libvirt-users mailing list