
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.
I'm wondering if we should force to require yajl-devel if build with "with-qemu", as without yajl-devel, it can't do much work with new qemu now.
Regards. Osier
-- Best Regards Li IBM LTC, China System&Technology Lab, Beijing