Received: from eggs.gnu.org ([2001:4830:134:3::10]:59669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvS2a-0002WR-LQ for qemu-devel@nongnu.org; Thu, 30 Aug 2018 14:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvS2V-0002PF-HQ for qemu-devel@nongnu.org; Thu, 30 Aug 2018 14:51:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fvS2V-0002Oz-Ak for qemu-devel@nongnu.org; Thu, 30 Aug 2018 14:51:31 -0400 Date: Thu, 30 Aug 2018 15:51:26 -0300 From: Eduardo Habkost Message-ID: <20180830185126.GN8359@habkost.net> References: <20180810153223.28409-1-marcandre.lureau@redhat.com> <20180810153223.28409-2-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v9 1/6] hw/i386: add pc-i440fx-3.1 & pc-q35-3.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger Cc: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , QEMU , "Michael S. Tsirkin" , Igor Mammedov , Paolo Bonzini , Richard Henderson On Thu, Aug 30, 2018 at 09:54:05AM -0400, Stefan Berger wrote: > On 08/28/2018 10:05 AM, Marc-Andr=E9 Lureau wrote: > > ping > > On Fri, Aug 10, 2018 at 5:34 PM Marc-Andr=E9 Lureau > > wrote: > > > The following patch is going to add compatiblity parameters. > > >=20 > > > Signed-off-by: Marc-Andr=E9 Lureau > > > --- > > > include/hw/compat.h | 4 +++- > > > include/hw/i386/pc.h | 5 ++++- > > > hw/i386/pc_piix.c | 13 ++++++++++++- > > > hw/i386/pc_q35.c | 12 +++++++++++- > > > 4 files changed, 30 insertions(+), 4 deletions(-) > > >=20 > > > diff --git a/include/hw/compat.h b/include/hw/compat.h > > > index c08f4040bb..f8e596969a 100644 > > > --- a/include/hw/compat.h > > > +++ b/include/hw/compat.h > > > @@ -1,7 +1,9 @@ > > > #ifndef HW_COMPAT_H > > > #define HW_COMPAT_H > > >=20 > > > -#define HW_COMPAT_2_12 \ > > > +#define HW_COMPAT_3_0 > Should probably be 3_1 now? *_COMPAT_3_1 will exist only on QEMU 3.2, just like *_COMPAT_2_12 exists only on QEMU 3.0 and newer. We need the compat macros to implement compatibility with older QEMU versions. We don't need compat macros for the current QEMU version. --=20 Eduardo