Hello, Here's an updated MacIO conversion, now including Apple Desktop Bus (ADB). MacIO IDE QOM'ification was requested by Markus as a prerequisite for some to be performed change in the IDE code.
Alex, please apply through your ppc tree. Regards, Andreas v3 -> v4: * object_resolve_path_component() prereq was applied through qemu-trivial. * Updated SysBus devices to QOM realizefn. * Not adding finalizers for unref'ing, as those would be obsoleted by Paolo's reference counting changes. (cf. prep_pci patches) * Added patches QOM'ifying ADB bus, devices and CUDA's bus hosting. v2 -> v3: * Redone using QOM, split up into three patches for better reviewability. * Moved Mac machines to hw/ppc/. * Added QOM'ification patches for NVRAM, IDE and CUDA. v1 -> v2: * qdev'ification patch was ignored for QOM 2nd series: Rebased onto Anthony's. Cc: Alexander Graf <ag...@suse.de> Cc: qemu-ppc <qemu-...@nongnu.org> Cc: Markus Armbruster <arm...@redhat.com> Cc: Kevin Wolf <kw...@redhat.com> Cc: Hervé Poussineau <hpous...@reactos.org> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> (FYI: ADB conversion) Andreas Färber (12): ppc: Move Mac machines to hw/ppc/ macio: QOM'ify some more macio: Delay qdev init until all fields are initialized macio: Split MacIO in two mac_nvram: Clean up public API mac_nvram: Mark as Big Endian mac_nvram: QOM'ify MacIO NVRAM ide/macio: QOM'ify MacIO IDE cuda: QOM'ify CUDA adb: QOM'ify Apple Desktop Bus adb: QOM'ify ADB devices cuda: Move ADB bus into CUDA state hw/adb.c | 252 ++++++++++++++++++------- hw/adb.h | 46 +++-- hw/cuda.c | 106 +++++------ hw/grackle_pci.c | 2 +- hw/heathrow_pic.c | 2 +- hw/ide.h | 4 - hw/ide/macio.c | 84 ++++++--- hw/mac_nvram.c | 88 +++++---- hw/macio.c | 289 ++++++++++++++++++++++------- hw/openpic.c | 2 +- hw/ppc/Makefile.objs | 9 +- hw/ppc/mac.h | 181 ++++++++++++++++++ hw/{ppc_newworld.c => ppc/mac_newworld.c} | 74 +++++--- hw/{ppc_oldworld.c => ppc/mac_oldworld.c} | 65 +++---- hw/ppc_mac.h | 81 -------- hw/unin_pci.c | 2 +- 16 Dateien geändert, 879 Zeilen hinzugefügt(+), 408 Zeilen entfernt(-) create mode 100644 hw/ppc/mac.h rename hw/{ppc_newworld.c => ppc/mac_newworld.c} (89%) rename hw/{ppc_oldworld.c => ppc/mac_oldworld.c} (90%) delete mode 100644 hw/ppc_mac.h -- 1.7.10.4