Hi Qian,

I encountered exactly same problem. I found out that I didnot have qemu installed. Please check that you have qemu-kvm installed by running "apt-get install qemu-kvm" on debian!

Thanks,
Saurabh Deochake
NTT DATA OSS Center.


On Sun, Aug 25, 2013 at 10:20 PM, Qian Feng <qianfeng04161001@gmail.com> wrote:
I checked the capabilities. I do not know why the guest is only for vbox. 
<guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <domain type='vbox'>
      </domain>
    </arch>
  </guest>

I want it run qemu-kvm. and when i run virsh define /etc/libvirt/qemu/demo.xml. It shows error: Failed to define domain from /etc/libvirt/qemu/demo.xml
error: unknown OS type hvm

Then I use virsh-install --prompt to install kvm guest, it shows error: libvirtError: this function is not supported by the connection driver: virConnectNumOfDefinedStoragePools

I really do not know how to do, please help me, thanks.

--
Have a nice day!

Qian

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users