From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzQQQ-0006sg-4C for qemu-devel@nongnu.org; Tue, 24 Jun 2014 09:06:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzQQH-0001SW-38 for qemu-devel@nongnu.org; Tue, 24 Jun 2014 09:06:14 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:52500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzQQG-0001SI-UT for qemu-devel@nongnu.org; Tue, 24 Jun 2014 09:06:05 -0400 Received: by mail-pb0-f41.google.com with SMTP id ma3so232898pbc.28 for ; Tue, 24 Jun 2014 06:06:04 -0700 (PDT) Message-ID: <53A977B6.4050503@ozlabs.ru> Date: Tue, 24 Jun 2014 23:05:58 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <53A8366B.1020301@ozlabs.ru> <53A840C8.8060607@redhat.com> <53A89D98.3030708@ozlabs.ru> <53A89F11.5060003@suse.de> <53A8AB33.6040602@ozlabs.ru> <53A90AD1.5090806@redhat.com> <53A95DE5.2060002@suse.de> In-Reply-To: <53A95DE5.2060002@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] machines and versions - why so many? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Paolo Bonzini Cc: Paul Mackerras , "qemu-devel@nongnu.org" , Alexander Graf On 06/24/2014 09:15 PM, Andreas Färber wrote: > Am 24.06.2014 07:21, schrieb Paolo Bonzini: >> Il 24/06/2014 00:33, Alexey Kardashevskiy ha scritto: >>> >>> I actually wonder if it is not going to be "-machine pseries-2.0" then >>> what >>> will it look like? "-machine pseries,qemucompat=2.0"? >> >> I would keep using pseries-2.0. >> >> There might be some class hierarchy, like >> >> spapr-machine >> spapr-machine-2.2 >> spapr-machine-2.1 >> >> I don't know what Andreas had in mind though, but you can check out >> Eduardo's patches for QOMifying the PC machines and take inspiration >> from there. That's probably a safe bet. > > That's pretty much what I meant, yes. (Eduardo, not Marcel then. :)) Aha. Eduardo, okaaaay :) I looked there, I fail to see why I should not cut-n-paste PC_COMPAT_XXX stuff to pseries and how that patchset helps me at all so any clues are very appreciated :) > Not sure about spapr-machine vs. spapr-machine-2.2, but > pseries-2.1-machine inheriting from and overriding properties of > pseries[-2.2]-machine definitely. Whatever works. -- Alexey