Re: [Qemu-devel] [PATCH 02/15] sun4u: ebus QOMify tidy-up

2017-11-17 Thread Philippe Mathieu-Daudé
On 11/17/2017 10:42 AM, Mark Cave-Ayland wrote: > The main change here is to introduce the proper TYPE_EBUS/EBUS QOM macros > and remove the use of DO_UPCAST. > > Alongside this there are some a couple of minor cosmetic changes and a rename > of pci_ebus_realize() to ebus_realize() since the ebus

[Qemu-devel] [PATCH 02/15] sun4u: ebus QOMify tidy-up

2017-11-17 Thread Mark Cave-Ayland
The main change here is to introduce the proper TYPE_EBUS/EBUS QOM macros and remove the use of DO_UPCAST. Alongside this there are some a couple of minor cosmetic changes and a rename of pci_ebus_realize() to ebus_realize() since the ebus device is always what is effectively a PCI-ISA bridge. Si