Received: from eggs.gnu.org ([2001:4830:134:3::10]:60829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWsc-0000i5-RU for qemu-devel@nongnu.org; Tue, 24 Jun 2014 15:59:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzWsV-0002gW-DF for qemu-devel@nongnu.org; Tue, 24 Jun 2014 15:59:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWsV-0002gR-50 for qemu-devel@nongnu.org; Tue, 24 Jun 2014 15:59:39 -0400 Date: Tue, 24 Jun 2014 16:59:31 -0300 From: Eduardo Habkost Message-ID: <20140624195931.GV3222@otherpad.lan.raisama.net> References: <1403632924-16603-1-git-send-email-ehabkost@redhat.com> <1403632924-16603-5-git-send-email-ehabkost@redhat.com> <1403639499.20031.21.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403639499.20031.21.camel@localhost.localdomain> Subject: Re: [Qemu-devel] [PATCH 4/4] [RFC] Eliminate PC-specific compat_props List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum Cc: Peter Maydell , "Michael S. Tsirkin" , 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 10:51:39PM +0300, Marcel Apfelbaum wrote: > On Tue, 2014-06-24 at 15:02 -0300, Eduardo Habkost wrote: > > All compat properties are only applied if a device of an specific type > > is instantiated. There's no need to keep a PC-specific list of compat > > properties, as properties for PC-specific devices won't affect other > > machine-types anyway. > > So why do we still need 2 sets of hierarchies PC_I440FX_COMPAT_x_y and > PC_Q35_COMPAT_x_y? It seems that QEMU_COMPAT_x_y is enough. > Am I missing something? A single PC_COMPAT_* hierarchy should be enough after this patch, yes. I left them there because I was not sure this RFC would be accepted, and wanted to keep the changes simple. If people are OK with this patch, I can reorder the changes in this series and move everything to QEMU_COMPAT_* in fewer steps, without even creating the new PC_I440FX_COMPAT_* macros. -- Eduardo