From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRMGb-0002HY-Fi for qemu-devel@nongnu.org; Thu, 25 Oct 2012 08:10:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRMGV-0006my-BI for qemu-devel@nongnu.org; Thu, 25 Oct 2012 08:10:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRMGV-0006mW-3V for qemu-devel@nongnu.org; Thu, 25 Oct 2012 08:10:23 -0400 Message-ID: <50892C21.4020400@redhat.com> Date: Thu, 25 Oct 2012 14:10:09 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 4/8] usb/ehci: Add usb-ehci-sysbus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: vineshp@xilinx.com, edgar.iglesias@gmail.com, john.williams@xilinx.com, qemu-devel@nongnu.org, peter.maydell@linaro.org > typedef struct EHCIItfState { > - PCIDevice pcidev; > + /* FIXME: Figure out a better way to share one Property[] array between two > + * QOM types with different parents > + */ > + union { > + PCIDevice pcidev; > + SysBusDevice busdev; > + }; Ah, I see where this hack comes from. I don't think they should share the properties in the first place ... cheers, Gerd