[libvirt][solved] domain type "kvm" error

Cole Robinson crobinso at redhat.com
Sun Sep 7 20:54:57 UTC 2008

Rakotomandimby Mihamina wrote:
> Cole Robinson wrote:
>>> I use "ubuntu hardy" but I dont think the problem is specific to the
>>> distribution I use.
>>> I installed KVM and libvirt as described here:
>>> https://help.ubuntu.com/community/KVM
>>> Following that method, created a domain, which dumps like this:
>>>   <domain type='qemu' id='1'>
>>>     <name>xp1</name>
>>>     ...
>>>   </domain>
>> Specifically what tool did you use to install the VM? That tutorial
>> lists
>> several different methods.
> $ sudo virt-install --connect qemu:///system -n xp1 \
>     -r 512 -f xp1.qcow2 -s 12 -c xp.iso --vnc \
>     --noautoconsole --os-type windows --os-variant winxp

FYI, the reason you didn't end up with a kvm guest with
this command is because you didn't pass the --accelerate
flag. It's unfortunate that back compatibility prevents us
from just defaulting to kvm, but that's the way it goes :(

- Cole

More information about the libvir-list mailing list