Received: from eggs.gnu.org ([2001:4830:134:3::10]:33874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePl4k-0001LO-21 for qemu-devel@nongnu.org; Fri, 15 Dec 2017 03:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePl4i-00050v-U8 for qemu-devel@nongnu.org; Fri, 15 Dec 2017 03:10:33 -0500 References: <20171213195852.30439-1-f4bug@amsat.org> <20171213195852.30439-7-f4bug@amsat.org> From: Paolo Bonzini Message-ID: <2c00f0cf-f91b-69e1-38ec-c44148a7e488@redhat.com> Date: Fri, 15 Dec 2017 09:10:17 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 06/14] sdhci: refactor same sysbus/pci properties into a common one List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Alistair Francis , Kevin O'Connor , Gerd Hoffmann Cc: "Edgar E . Iglesias" , Prasad J Pandit , Peter Maydell , Andrew Baumann , Andrey Smirnov , Andrey Yurovsky , Sai Pavan Boddu , Peter Crosthwaite , "qemu-devel@nongnu.org Developers" , "open list:Block layer core" On 14/12/2017 19:40, Philippe Mathieu-Daud=C3=A9 wrote: >>> + DEFINE_PROP_BOOL("pending-insert-quirk", SDHCIState, pending_ins= ert_quirk, >>> + false), >> I like the reduction of code in this patch, but aren't we now going to >> have device properties that aren't actually connected to anything? > I'm not sure I understand, ar you worried about the PCI_SDHCI will now > have this property but not use it? >=20 > I couldn't find any machine using SDHCI via PCI and was tempted to > just remove this code, PCI devices can be created with -device, they don't have to be added by boards. Paolo