[virt-tools-list] virt-install question

Cole Robinson crobinso at redhat.com
Mon Nov 8 18:27:27 UTC 2010


On 11/07/2010 11:01 AM, Anton Gorlov wrote:
> Hello,
> 
> I'm using qemu-create I created qcow2 image, which size is 15 GB. Now I 
> am trying to create a virtual machine as follows
> ===
> virt-install --name freebsd8 --ram 384 --disk 
> path=/mnt/sde1/work/VM/bsd.qcow2,format=qcow2,size=15 --vcpus=2 
> --accelerate --network network:default 
> --cdrom=/var/ftp/mirror/FreeBSD/ISO-IMAGES-amd64/8.1/FreeBSD-8.1-RELEASE-amd64-disc1.iso
> ===
> (one line)
> 
> There are no error messages, but while I am installing freebsd, it says 
> there is not enough of disk space. In xml there is <driver name='qemu' 
> type='raw'/>
> 
> python-module-virtinst-0.500.1
> 
> I installed virt-manager and tried to create an image. It creates an 
> image in qcow2 if I choose to cerate a virtual disk in a file instead of 
> using an existing one.
> 

This is basically a bug in virt-install before 0.500.4, fixed by this
commit:

http://hg.fedorahosted.org/hg/python-virtinst/rev/e3657405fa18

We weren't using format= to set the driver type.

- Cole




More information about the virt-tools-list mailing list