From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDL2Z-0001OE-02 for qemu-devel@nongnu.org; Tue, 11 Feb 2014 16:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDL2Q-0002hE-KT for qemu-devel@nongnu.org; Tue, 11 Feb 2014 16:38:50 -0500 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:46033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDL2Q-0002gw-DC for qemu-devel@nongnu.org; Tue, 11 Feb 2014 16:38:42 -0500 Received: by mail-ea0-f178.google.com with SMTP id a15so3962006eae.23 for ; Tue, 11 Feb 2014 13:38:41 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52FA9849.8050403@redhat.com> Date: Tue, 11 Feb 2014 22:38:17 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20140205154007.4886f3e3@thinkpad> <52F26363.2050607@suse.de> <20140205175216.3e011738@thinkpad> <20140206161901.14d44e55@nial.usersys.redhat.com> <52F3AF75.90106@suse.de> <20140206161627.GE28427@otherpad.lan.raisama.net> <52F3BF02.3070804@suse.de> <20140207101609.GF28427@otherpad.lan.raisama.net> <52F4BB9D.60301@redhat.com> <20140211152544.GA24353@otherpad.lan.raisama.net> <52FA5605.7040305@suse.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] CPU models and feature probing (was Re: [PATCH qom-cpu 00/16 v10] target-i386: convert CPU) features into properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , =?ISO-8859-1?Q?Andreas_F=E4?= =?ISO-8859-1?Q?rber?= Cc: Eduardo Habkost , libvir-list@redhat.com, Markus Armbruster , qemu-devel , Anthony Liguori , Igor Mammedov , Jiri Denemark , Amos Kong Il 11/02/2014 19:57, Anthony Liguori ha scritto: >> > Erm, sorry, that is already implemented in qemu.git!? instance_post_init >> > by Eduardo plus glue by me. > Ah, even better then :-) Still, the code is a bit ad hoc. Static properties would let us remove that code and just read dc->props arrays along the hierarchy as usual. Also, Igor reminded me offlist that right now we cannot dump the default values of the properties. With this series, one could extend the device-list-properties command with that information. Paolo