[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.

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

[root at mcd ~]# rpm -qa yajl
[root at mcd ~]# rpm -qa yajl-devel

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

[root at mcd ~]# virsh capabilities

       <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'/>


> Hope that helps,
> Christophe

Best Regards

IBM LTC, China System&Technology Lab, Beijing

More information about the libvir-list mailing list