[libvirt] libvirt can't get capablities

Li Zhang zhlcindy at linux.vnet.ibm.com
Tue Jul 3 01:12:05 UTC 2012


On 07/02/2012 05:53 PM, Christophe Fergeau wrote:
> Hey,
>
> On Mon, Jul 02, 2012 at 05:47:08PM +0800, Li Zhang wrote:
>> 2003-01-02 01:22:00.135+0000: 12207: error :
>> qemuCapsComputeCmdFlags:1218 : unsupported configuration: this qemu
>> binary requires libvirt to be compiled with yajl
>
> Your first problem is here, you need to have yajl-devel installed before
> building libvirt.
Hi,

I tried on my x86 machine to installed all these packages.

[root at mcd ~]# rpm -qa yajl
yajl-1.0.12-1.fc16.x86_64
[root at mcd ~]# rpm -qa yajl-devel
yajl-devel-1.0.12-1.fc16.x86_64

[root at mcd ~]# lsmod |grep kvm
kvm_intel             119203  0
kvm                   347474  1 kvm_intel

[root at mcd ~]# virsh capabilities
<capabilities>

   <host>
     <uuid>d4ff0166-0f8b-e111-ab17-78a277034000</uuid>
     <cpu>
       <arch>x86_64</arch>
       <model>Nehalem</model>
       <vendor>Intel</vendor>
       <topology sockets='1' cores='4' threads='1'/>
       <feature name='rdtscp'/>
       <feature name='avx'/>
       <feature name='osxsave'/>
       <feature name='xsave'/>
       <feature name='tsc-deadline'/>
       <feature name='x2apic'/>
       <feature name='pdcm'/>
       <feature name='xtpr'/>
       <feature name='tm2'/>
       <feature name='est'/>
       <feature name='smx'/>
       <feature name='vmx'/>
       <feature name='ds_cpl'/>
       <feature name='monitor'/>
       <feature name='dtes64'/>
       <feature name='pclmuldq'/>
       <feature name='pbe'/>
       <feature name='tm'/>
       <feature name='ht'/>
       <feature name='ss'/>
       <feature name='acpi'/>
       <feature name='ds'/>
       <feature name='vme'/>
     </cpu>
     <power_management>
       <suspend_mem/>
       <suspend_disk/>
       <suspend_hybrid/>
     </power_management>
     <migration_features>
       <live/>
       <uri_transports>
         <uri_transport>tcp</uri_transport>
       </uri_transports>
     </migration_features>
     <secmodel>
       <model>selinux</model>
       <doi>0</doi>
     </secmodel>
   </host>

</capabilities>

>
> Hope that helps,
>
> Christophe
>

-- 
Best Regards
Li

IBM LTC, China System&Technology Lab, Beijing





More information about the libvir-list mailing list