From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL1v3-0002me-3a for qemu-devel@nongnu.org; Tue, 04 Mar 2014 21:51:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WL1uv-0000uC-5p for qemu-devel@nongnu.org; Tue, 04 Mar 2014 21:50:52 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:52824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL1uu-0000u4-Lv for qemu-devel@nongnu.org; Tue, 04 Mar 2014 21:50:45 -0500 Received: by mail-pb0-f47.google.com with SMTP id up15so430773pbc.6 for ; Tue, 04 Mar 2014 18:50:43 -0800 (PST) Message-ID: <531690FB.7060801@ozlabs.ru> Date: Wed, 05 Mar 2014 13:50:35 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1393901749-5944-1-git-send-email-afaerber@suse.de> In-Reply-To: <1393901749-5944-1-git-send-email-afaerber@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH qom-cpu 0/6] cpu: Unifying features parsing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , qemu-devel@nongnu.org Cc: Igor Mammedov , Eduardo Habkost , Anthony Liguori , Peter Maydell On 03/04/2014 01:55 PM, Andreas Färber wrote: > Hello, > > Prompted by Alexey's desire for tweakable PowerPCCPU properties but also by > Peter's wish for ARMCPU properties, this series sets out to align cpu_model > parsing across targets. > > QemuOpts would've been nice to use, but on the one hand x86 and sparc use > QemuOpts-incompatible +foo and -foo syntax (which accumulate rather than apply > immediately) and on the other linux-user and bsd-user don't use QemuOpts at all. > > The x86 implementation is closest to the proposed API, save for some laziness. > SPARC is brought in line. And as fallback for the remaining targets a new > implementation, derived from x86 but supporting only key=value format, is added. > > To facilitate using this infrastructure, a generic CPU init function is created. Besides the fact that this patchset does not support dynamic properties (added by object_property_add(), and I used it in my initial patchset), that works for SPAPR, just need to implement property statically (tested). -- Alexey