Am 01.07.2013 12:18, schrieb Hu Tao: > Hu Tao (26): > sysbus: document SysBusDeviceClass about @init > ohci: QOM'ify some more > ohci: use realize for ohci > i440fx-pcihost: use realize for i440fx-pcihost > i440fx: use type-safe cast instead of directly access of parent dev > q35: use type-safe cast instead of directly access of parent dev > q35: use realize for q35 host > fdc: QOM'ify some more > fdc: use realize for fdc. > pflash-cfi01: QOM'ify some more > pflash_cfi01: use realize for pflash_cfi01 > pflash-cfi02: QOM'ify some more > pflash_cfi02: use realize for pflash_cfi02 > ahci: QOM'ify some more > ahci: use realize for ahci > fwcfg: QOM'ify some more > fwcfg: use realize for fwcfg > scsi esp: QOM'ify some more > scsi esp: use realize for scsi esp > hpet: QOM'ify some more > hpet: use realize for hpet > kvmclock: QOM'ify some more > kvmclock: use realize for kvmclock > kvmvapic realize > ioapic: use realize for ioapic > isa bus: remove isabus_bridge_init since it does nothing
By now I believe I've queued all of these, partially with minor changes like b or err-vs.-errp variable renames or replacement of repeated in-place QOM casts with a variable and one bug fix. Most realizefn patches conflicted due to Memory API changes. In two cases I inserted error propagation improvements as indicated. Testing appreciated. git://github.com/afaerber/qemu-cpu.git qom-next https://github.com/afaerber/qemu-cpu/commits/qom-next Regards, Andreas > hw/block/fdc.c | 87 > +++++++++++++++++++++++++++++++------------------ > hw/block/pflash_cfi01.c | 28 ++++++++-------- > hw/block/pflash_cfi02.c | 31 +++++++++--------- > hw/i386/kvm/clock.c | 15 +++++---- > hw/i386/kvmvapic.c | 12 +++---- > hw/ide/ahci.c | 21 ++++++------ > hw/intc/ioapic_common.c | 12 +++---- > hw/isa/isa-bus.c | 8 ----- > hw/nvram/fw_cfg.c | 36 +++++++++++--------- > hw/pci-host/piix.c | 36 ++++++++++++-------- > hw/pci-host/q35.c | 60 +++++++++++++++++----------------- > hw/scsi/esp.c | 46 ++++++++++++++++---------- > hw/timer/hpet.c | 44 +++++++++++++++---------- > hw/usb/hcd-ohci.c | 32 +++++++++--------- > include/hw/sysbus.h | 10 ++++++ > 15 files changed, 268 insertions(+), 210 deletions(-) -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg