Re: [libvirt-users] caps->nguests == 0?

2012-06-19 Thread Zhihua Che
2012/6/20 Eric Blake : > On 06/19/2012 03:20 AM, Zhihua Che wrote: > >> First, I'm sorry I forgot to mention that I installed my >> qemu-system-x86_64 in a non-default path, that is, NOT in /usr/bin, >> /usr/local/bin etc. >> In this case, if I started up libvirtd with sudo, qemuCapsInitGuest >> fa

Re: [libvirt-users] caps->nguests == 0?

2012-06-19 Thread Eric Blake
On 06/19/2012 03:20 AM, Zhihua Che wrote: > First, I'm sorry I forgot to mention that I installed my > qemu-system-x86_64 in a non-default path, that is, NOT in /usr/bin, > /usr/local/bin etc. > In this case, if I started up libvirtd with sudo, qemuCapsInitGuest > failed to add hvm guest os type t

Re: [libvirt-users] caps->nguests == 0?

2012-06-19 Thread Zhihua Che
2012/6/19 Alex Jia : > On 06/19/2012 02:56 PM, Zhihua Che wrote: >> >> hi, >> >>    I compiled the libvirt-0.9.10 and started the libvirtd with sudo. >> Unfortunately, I got an Error, saying 'virDomainDefParseXML unknown OS >> type hvm'. I debugged it and found in function >> virCapabilitiesSupport

Re: [libvirt-users] caps->nguests == 0?

2012-06-19 Thread Alex Jia
On 06/19/2012 02:56 PM, Zhihua Che wrote: hi, I compiled the libvirt-0.9.10 and started the libvirtd with sudo. Unfortunately, I got an Error, saying 'virDomainDefParseXML unknown OS type hvm'. I debugged it and found in function virCapabilitiesSupportsGuestOSType, the parameter caps->nguest

[libvirt-users] caps->nguests == 0?

2012-06-19 Thread Zhihua Che
hi, I compiled the libvirt-0.9.10 and started the libvirtd with sudo. Unfortunately, I got an Error, saying 'virDomainDefParseXML unknown OS type hvm'. I debugged it and found in function virCapabilitiesSupportsGuestOSType, the parameter caps->nguests is 0. On the other hand, I tried start t