Received: from eggs.gnu.org ([208.118.235.92]:36026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBVCC-0004yE-Tr for qemu-devel@nongnu.org; Fri, 01 Mar 2013 14:00:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBVCB-0003uc-Md for qemu-devel@nongnu.org; Fri, 01 Mar 2013 14:00:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBVCB-0003uX-EV for qemu-devel@nongnu.org; Fri, 01 Mar 2013 14:00:39 -0500 Date: Fri, 1 Mar 2013 16:01:46 -0300 From: Eduardo Habkost Message-ID: <20130301190146.GZ8494@otherpad.lan.raisama.net> References: <20130221145818.GK16618@otherpad.lan.raisama.net> <20130301131238.GE3375700@orkuz.home> <5130F412.3040903@suse.de> <20130301183431.GD13555@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20130301183431.GD13555@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] libvirt<->QEMU interfaces for CPU models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Alexander Graf , libvir-list@redhat.com, qemu-devel@nongnu.org, Luiz Capitulino , Igor Mammedov , Jiri Denemark , Andreas =?iso-8859-1?Q?F=E4rber?= On Fri, Mar 01, 2013 at 06:34:31PM +0000, Daniel P. Berrange wrote: > On Fri, Mar 01, 2013 at 07:31:46PM +0100, Andreas F=E4rber wrote: > > Am 01.03.2013 14:12, schrieb Jiri Denemark: > > > On Thu, Feb 21, 2013 at 11:58:18 -0300, Eduardo Habkost wrote: > > >> =3D Listing CPU models =3D > > >> > > >> Requirement: libvirt needs to know which CPU models are available = to be used > > >> with the "-cpu" option. > > >> > > >> Current problem: libvirt relies on help output parsing for that. > >=20 > > query-cpu-definitions is the QMP command to retrieve values compatibl= e > > with -cpu. >=20 > Yep, Jiri is wrong here actually. -cpu parsing is what we used to > do. With latest libvirt + QEMU we do use query-cpu-definitions > and have no "help parsing" code used at all. I wrote the above, not Jiri. I will fix the wiki page to note that. --=20 Eduardo