Discussion:
[libvirt-users] About .img file while creating vm
amey pandit
2018-03-09 03:51:32 UTC
Permalink
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
Daniel Romero
2018-03-09 15:55:23 UTC
Permalink
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.
Post by amey pandit
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
https://www.redhat.com/mailman/listinfo/libvirt-users
Loading...