[CentOS] KVM virt-install on disk image - "no space"

Thu Apr 21 23:57:40 UTC 2011
Tsuyoshi Nagata <nagata3333333 at jp.fujitsu.com>

Hi Jussi
After installing guest image,
  Convert it from raw to qcow2 by "convert" command.

qemu-img convert -f raw disk0.raw -O qcow2 newdisk0.qcow2

Now you can mount newdisk  to empty VM with virt-manager.
Or you can edit <DOMAIN>.xml as follows..


<domain type='kvm'>
     <type arch='i686'>hvm</type>
     <boot dev='hd'/>
     <disk type='file' device='disk'>
       <driver name='qemu' type='qcow2'/>
       <source file='/home/tsuyoshi/test/newdisk0.qcow2'/>
       <target dev='hda' bus='ide'/>
     <serial type='pty'>
       <target port='0'/>
     <console type='pty'>
       <target port='0'/>