From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBUn2-0000u4-As for qemu-devel@nongnu.org; Fri, 01 Mar 2013 13:34:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBUn0-0004kk-Vc for qemu-devel@nongnu.org; Fri, 01 Mar 2013 13:34:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBUn0-0004kW-N4 for qemu-devel@nongnu.org; Fri, 01 Mar 2013 13:34:38 -0500 Date: Fri, 1 Mar 2013 18:34:31 +0000 From: "Daniel P. Berrange" Message-ID: <20130301183431.GD13555@redhat.com> References: <20130221145818.GK16618@otherpad.lan.raisama.net> <20130301131238.GE3375700@orkuz.home> <5130F412.3040903@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5130F412.3040903@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] libvirt<->QEMU interfaces for CPU models Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Alexander Graf , Eduardo Habkost , libvir-list@redhat.com, qemu-devel@nongnu.org, Luiz Capitulino , Igor Mammedov , Jiri Denemark On Fri, Mar 01, 2013 at 07:31:46PM +0100, Andreas F=C3=A4rber 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 compatible > with -cpu. 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. Daniel --=20 |: http://berrange.com -o- http://www.flickr.com/photos/dberrange= / :| |: http://libvirt.org -o- http://virt-manager.or= g :| |: http://autobuild.org -o- http://search.cpan.org/~danberr= / :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vn= c :|