Hello Anthony and Hervé, Here's my rebased qdev'ification of PReP PCI host.
It is tested not to make things worse than they are already. I've split up my original patch and did some renaming to make it better readable. Please compare it to yours; it is intended to go in before the second QOM series. Some not immediately needed changes, such as adding the IRQs as state to the SysBus device (Hervé's patch) and dropping pci_prep_init() in favor of sysbus_create_simple() are deferred to the 40P machine series. Regards, Andreas Changes since v1: * Use the new .vendor_id etc. in PCIDeviceInfo * Rename from PRePPCI to Raven, adopt naming scheme from i440FX * Rebase onto multiple Memory API conversions * Split into PCIDevice and SysBus patches, leave out PREPPCIState changes http://patchwork.ozlabs.org/patch/100268/ Cc: Hervé Poussineau <hpous...@reactos.org> Cc: Alexander Graf <ag...@suse.de> Cc: Anthony Liguori <aligu...@us.ibm.com> Andreas Färber (3): prep: qdev'ify Raven host bridge prep: Add Raven PCI host SysBus device MAINTAINERS: Add PCI host bridge files to PReP machine MAINTAINERS | 1 + hw/prep_pci.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 74 insertions(+), 15 deletions(-) -- 1.7.7