Re: [libvirt] libvirt can't get capablities

2012-07-04 Thread Osier Yang
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

Re: [libvirt] libvirt can't get capablities

2012-07-04 Thread Osier Yang
On 2012年07月03日 01:07, Christophe Fergeau wrote: On Mon, Jul 02, 2012 at 05:56:35PM +0800, Osier Yang wrote: 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. Something like this ? ;) Yes, exactly.

Re: [libvirt] libvirt can't get capablities

2012-07-03 Thread Li Zhang
On 07/02/2012 06:14 PM, Daniel P. Berrange wrote: On Mon, Jul 02, 2012 at 05:47:08PM +0800, 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.

[libvirt] libvirt can't get capablities

2012-07-02 Thread Li Zhang
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+: 12214: error :

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Christophe Fergeau
Hey, On Mon, Jul 02, 2012 at 05:47:08PM +0800, Li Zhang wrote: 2003-01-02 01:22:00.135+: 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

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Osier Yang
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

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Daniel P. Berrange
On Mon, Jul 02, 2012 at 05:47:08PM +0800, 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

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Christophe Fergeau
On Mon, Jul 02, 2012 at 05:56:35PM +0800, Osier Yang wrote: 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. Something like this ? ;) commit 350583c859deaaddc98d7319e1c2ad649e4d3e83 Author: Eric

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Li Zhang
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+: 12207: error : qemuCapsComputeCmdFlags:1218 : unsupported configuration: this qemu binary requires libvirt to be compiled with yajl Your first

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Li Zhang
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

Re: [libvirt] libvirt can't get capablities

2012-07-02 Thread Li Zhang
On 07/03/2012 09:12 AM, Li Zhang wrote: 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+: 12207: error : qemuCapsComputeCmdFlags:1218 : unsupported configuration: this qemu binary requires libvirt to