From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzfGI-0004PQ-Ce for qemu-devel@nongnu.org; Wed, 25 Jun 2014 00:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzfGC-00022x-9D for qemu-devel@nongnu.org; Wed, 25 Jun 2014 00:56:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzfGC-00022s-02 for qemu-devel@nongnu.org; Wed, 25 Jun 2014 00:56:40 -0400 Date: Wed, 25 Jun 2014 07:57:01 +0300 From: "Michael S. Tsirkin" Message-ID: <20140625045701.GB21297@redhat.com> References: <1403632924-16603-1-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403632924-16603-1-git-send-email-ehabkost@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/4] Introduce common QEMU_COMPAT_* macros List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Peter Maydell , Marcel Apfelbaum , Alexey Kardashevskiy , qemu-devel@nongnu.org, Markus Armbruster , Paul Mackerras , Anthony Liguori , Igor Mammedov , Paolo Bonzini , Andreas =?iso-8859-1?Q?F=E4rber?= , Alexander Graf On Tue, Jun 24, 2014 at 03:02:00PM -0300, Eduardo Habkost wrote: > This series is an attempt to make the compat_props lists from the PC code > reusable by other machine-types. All the compat bits that are on those lists are > not tied to a specific machine-type, but instead to the device code that was > present on a given QEMU version. > > The last patch is a proposal to simply eliminate the PC-specific compat props > macros, because we don't really need them today. All compat properties we have > can be on global QEMU-version-specific lists, because PC-specific properties are > not going to affect other machine-types anyway. How was this tested? I would suggest compiling qemu before and after this patch. stripped objects should be identical. > Eduardo Habkost (4): > q35: Move q35-specific compat macros to pc_q35.c > pc: Eliminate nesting of common PC_COMPAT_* macros > machine: Introduce QEMU_COMPAT_* macros > [RFC] Eliminate PC-specific compat_props > > hw/i386/pc_piix.c | 31 +++++-- > hw/i386/pc_q35.c | 19 +++++ > include/hw/boards.h | 207 +++++++++++++++++++++++++++++++++++++++++++++++ > include/hw/i386/pc.h | 224 --------------------------------------------------- > 4 files changed, 251 insertions(+), 230 deletions(-) > > -- > 1.9.3