> 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