Received: from eggs.gnu.org ([2001:4830:134:3::10]:45607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMOEN-0001kl-K8 for qemu-devel@nongnu.org; Sat, 08 Mar 2014 15:52:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMOEJ-0005UF-6y for qemu-devel@nongnu.org; Sat, 08 Mar 2014 15:52:27 -0500 Received: from s16892447.onlinehome-server.info ([82.165.15.123]:59220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMOEJ-0005U7-07 for qemu-devel@nongnu.org; Sat, 08 Mar 2014 15:52:23 -0500 Message-ID: <531B828A.4090103@ilande.co.uk> Date: Sat, 08 Mar 2014 20:50:18 +0000 From: Mark Cave-Ayland MIME-Version: 1.0 References: <1393901749-5944-1-git-send-email-afaerber@suse.de> <53163862.7080109@suse.de> In-Reply-To: <53163862.7080109@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed 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?= Cc: Peter Maydell , Eduardo Habkost , Alexey Kardashevskiy , Sebastian Huber , qemu-devel@nongnu.org, Fabien Chouteau , Anthony Liguori , Igor Mammedov On 04/03/14 20:32, Andreas Färber wrote: > Am 04.03.2014 03:55, schrieb Andreas Färber: >> 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. >> >> Only lightly tested. Available at: >> git://github.com/afaerber/qemu-cpu.git qom-cpu-features.v1 >> https://github.com/afaerber/qemu-cpu/commits/qom-cpu-features.v1 >> >> Regards, >> Andreas >> >> Cc: Alexey Kardashevskiy >> Cc: Peter Maydell >> Cc: Anthony Liguori >> >> Andreas Färber (6): >> cpu: Introduce CPUClass::parse_features() hook >> target-sparc: Use error_report() for CPU error reporting >> target-sparc: Implement CPUClass::parse_features() for SPARCCPU >> target-sparc: Defer SPARCCPU feature inference to QOM realize > > Mark and Fabien, forgot to CC you: Could you take a look at the sparc > parts and give them some testing please? > > The very latest version can be found on qom-cpu-ppc branch if necessary. > > Thanks, > Andreas Hi Andreas, I've had a quick test of this branch, and while I don't tend to use CPU options that much, the parsing seems to work as I might expect from looking at the changes. I think any other snags if they exist can be picked up during pre-release testing so: Tested-by: Mark Cave-Ayland ATB, Mark.