From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzBzo-0007WA-BO for qemu-devel@nongnu.org; Mon, 23 Jun 2014 17:41:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzBzg-0000ZF-SZ for qemu-devel@nongnu.org; Mon, 23 Jun 2014 17:41:48 -0400 Received: from cantor2.suse.de ([195.135.220.15]:38205 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzBzg-0000Z5-MM for qemu-devel@nongnu.org; Mon, 23 Jun 2014 17:41:40 -0400 Message-ID: <53A89F11.5060003@suse.de> Date: Mon, 23 Jun 2014 23:41:37 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <53A8366B.1020301@ozlabs.ru> <53A840C8.8060607@redhat.com> <53A89D98.3030708@ozlabs.ru> In-Reply-To: <53A89D98.3030708@ozlabs.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] machines and versions - why so many? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Paolo Bonzini , Paul Mackerras , "qemu-devel@nongnu.org" , Alexander Graf Am 23.06.2014 23:35, schrieb Alexey Kardashevskiy: > Looks like I must copy PC_COMPAT_X_X as PSERIES_COMPAT_X_X starting 1.6= (or > 1.7 - whichever starts supporting migration well enough on pseries) bec= ause > pretty much of what they do is tweaking PCI devices and we can have all= of > these devices on pseries. And then keep an eye on what is happening in = PC > world to copy same tweaks to pseries as they come. Is that correct? Please don't. There's a series by Marcel on the list converting those PC macros to QOM. You already have a QOM sPAPR machine, so you should just derive new legacy types as needed and override things there. Also, -machine *is* the global mechanism we have to tell QEMU which version you want, it's a shorthand for setting a list of global properties. Don't forget that QEMU can be used without libvirt, so the knowledge of which properties to set for which version is kept in QEMU. Cheers, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg