On 2012年07月03日 09:49, Li Zhang wrote:
On 07/02/2012 05:56 PM, Osier Yang wrote:
> On 2012年07月02日 17:47, Li Zhang wrote:
>>
>> Hi,
>>
>> I have suffered several times on both x86 machine and power machine.
>>
>> When we want to use libvirt to create on VMs, it reports "unknown OS
>> type hvm".
>>
>> We can't get <guest> capabilities.
>>
>> The log is as the following(log_level=1):
>>
>> 2003-01-02 01:21:39.895+0000: 12214: error : virDomainDefParseXML:8491 :
>> unknown OS type hvm
>> 2003-01-02 01:21:39.896+0000: 12214: error : virDomainDefParseXML:8491 :
>> unknown OS type hvm
>> 2003-01-02 01:22:00.135+0000: 12207: error :
>> qemuCapsComputeCmdFlags:1218 : unsupported configuration: this qemu
>> binary requires libvirt to be compiled with yajl
>
> You need to build the pkg with yajl-devel.
>
Hi Osier,
I tried, but it seems that it doesn't work.
Will yajl packages help to detect kvm module and qemu binary?
It seems that it can't find kvm module and qemu binary.
Sorry for the late response, the detection of qemu binary
and kvm module doesn't relates with the requirement of
yajl. If you see the error "this qemu binary requires
libvirt to comipled with yajl", that means the qemu binary
is found. Why do you think it's not found?
Regards,
Osier