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
Saurabh Deochake
2013-Aug-26 04:05 UTC
Re: [libvirt-users] The error for creating a new vm for kvm
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 >
Saurabh Deochake
2013-Aug-26 04:35 UTC
Re: [libvirt-users] The error for creating a new vm for kvm
> Thanks, but I checked it and It shows I have already installed qemu-kvm.Please check if kvm and kvm_intel ( for systems with 'vmx' flag) / kvm_amd (systems with 'svm' flag) are loaded in the system. On Mon, Aug 26, 2013 at 9:40 AM, Qian Feng <qianfeng04161001@gmail.com>wrote:> Thanks, but I checked it and It shows I have already installed qemu-kvm. > > > On Mon, Aug 26, 2013 at 12:05 AM, Saurabh Deochake <saurabh.d04@gmail.com>wrote: > >> 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 >>> >> >> > > > -- > Have a nice day! > > Qian >
Humble Chirammal
2013-Aug-26 05:08 UTC
Re: [libvirt-users] The error for creating a new vm for kvm
----- Original Message ----- | From: "Qian Feng" <qianfeng04161001@gmail.com> | To: libvirt-users@redhat.com | Sent: Sunday, August 25, 2013 10:20:03 PM | Subject: [libvirt-users] The error for creating a new vm for kvm | | 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 Any of the possibility listed here can contribute that error.. http://humblec.com/error-libvirt-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
Qian Feng
2013-Aug-26 16:59 UTC
[libvirt-users] Fwd: The error for creating a new vm for kvm
---------- Forwarded message ---------- From: Qian Feng <qianfeng04161001@gmail.com> Date: Mon, Aug 26, 2013 at 12:59 PM Subject: Re: [libvirt-users] The error for creating a new vm for kvm To: Humble Chirammal <hchiramm@redhat.com> I use lsmod | grep kvm, it shows kvm and kvm_intel. It shows: kvm_intel 39608 0 kvm 247190 1 kvm_intel BTW, I use virt-manager to create a new virtual machine for qemu/kvm, it shows no guests are supported for this connection. I tend to restart the service for libvirtd, service libvirtd restart, it shows the error: libvirtd: unrecognized service libvirtd is in the directory: /usr/sbin/libvirtd On Mon, Aug 26, 2013 at 1:08 AM, Humble Chirammal <hchiramm@redhat.com>wrote:> > > > ----- Original Message ----- > | From: "Qian Feng" <qianfeng04161001@gmail.com> > | To: libvirt-users@redhat.com > | Sent: Sunday, August 25, 2013 10:20:03 PM > | Subject: [libvirt-users] The error for creating a new vm for kvm > | > | 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 > > Any of the possibility listed here can contribute that error.. > http://humblec.com/error-libvirt-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 >-- Have a nice day! Qian -- Have a nice day! Qian