Received: from eggs.gnu.org ([2001:4830:134:3::10]:58230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1PoW-0002SB-Cz for qemu-devel@nongnu.org; Mon, 22 Jul 2013 19:46:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1PoT-0003nG-1m for qemu-devel@nongnu.org; Mon, 22 Jul 2013 19:46:48 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45736 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1PoS-0003my-Of for qemu-devel@nongnu.org; Mon, 22 Jul 2013 19:46:44 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 23 Jul 2013 01:45:41 +0200 Message-Id: <1374536796-13983-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 00/55] QOM devices patch queue 2013-07-22 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Peter Crosthwaite , Stefan Hajnoczi , "Michael S. Tsirkin" , Hu Tao , Anthony Liguori , Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello Anthony, This is my current QOM devices patch queue for 1.6. Please pull. FROM_SYSBUS(): 188 -> 176 DO_UPCAST(): 468 -> 421 Thanks, Andreas Cc: Anthony Liguori Cc: Peter Maydell Cc: Peter Crosthwaite Cc: Hu Tao Cc: Michael S. Tsirkin (pci) Cc: Paolo Bonzini (scsi) Cc: Stefan Hajnoczi (fdc) The following changes since commit 3464700f6aecb3e2aa9098839d90672d6b3fa9= 74: tests: Add test-bitops.c with some sextract tests (2013-07-22 15:41:49 = -0500) are available in the git repository at: git://github.com/afaerber/qemu-cpu.git tags/qom-devices-for-anthony for you to fetch changes up to 52785d99513e4f5d8c3d94f4362ff54aba88f33c: isa-bus: Drop isabus_bridge_init() since it does nothing (2013-07-23 00= :37:35 +0200) ---------------------------------------------------------------- QOM device refactorings * Avoid TYPE_* in VMStateDescription name * Replace some DO_UPCAST()s and FROM_SYSBUS()s with QOM casts * Limit legacy SCSI command line handling to non-hotplugged devices * Replace some SysBusDeviceClass::init with DeviceClass::realize ---------------------------------------------------------------- Andreas F=C3=A4rber (15): net/e1000: QOM parent field cleanup net/rtl8139: QOM parent field cleanup usb/hcd-xhci: QOM parent field cleanup scsi/lsi53c895a: QOM parent field cleanup scsi/megasas: QOM parent field cleanup scsi/esp-pci: QOM parent field cleanup ide/ich: QOM parent field cleanup acpi/piix4: QOM parent field cleanup misc/pci-testdev: QOM parent field cleanup display/vmware_vga: QOM parent field cleanup misc/ivshmem: QOM parent field cleanup xen/xen_platform: QOM parent field cleanup fdc: Improve error propagation for QOM realize megasas: Legacy command line handling fix scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline(= ) Hu Tao (26): sysbus: Document SysBusDeviceClass::init and realize semantics ohci: QOM'ify some more ohci: Use QOM realize for OHCI i440fx: Use type-safe cast instead of direct access of parent dev i440fx-pcihost: Use QOM realize for i440fx-pcihost q35: Use type-safe cast instead of direct access of parent dev q35: Use QOM realize for q35 host bridge fdc: QOM'ify some more pflash-cfi01: QOM'ify some more pflash-cfi02: QOM'ify some more ahci: QOM'ify some more fwcfg: QOM'ify some more scsi/esp: QOM'ify some more hpet: QOM'ify some more kvm/clock: QOM'ify some more fdc: Use QOM realize for fdc pflash_cfi01: Use QOM realize for pflash_cfi01 pflash_cfi02: Use QOM realize for pflash_cfi02 ahci: Use QOM realize for ahci fw_cfg: Use QOM realize for fw_cfg scsi/esp: Use QOM realize for scsi esp hpet: Use QOM realize for hpet kvm/clock: Use QOM realize for kvmclock kvmvapic: Use QOM realize ioapic: Use QOM realize for ioapic isa-bus: Drop isabus_bridge_init() since it does nothing Peter Crosthwaite (13): net/e1000: QOM Upcast Sweep net/rtl8139: QOM Upcast Sweep net/pcnet-pci: QOM Upcast Sweep usb/hcd-xhci: QOM Upcast Sweep scsi/lsi53c895a: QOM Upcast Sweep scsi/megasas: QOM Upcast Sweep scsi/esp-pci: QOM Upcast Sweep ide/ich: QOM Upcast Sweep acpi/piix4: QOM Upcast Sweep misc/pci-testdev: QOM Upcast Sweep display/vmware_vga: QOM casting sweep misc/ivshmem: QOM Upcast Sweep xen/xen_platform: QOM casting sweep Peter Maydell (1): hw: Avoid use of QOM type name macros in VMStateDescriptions hw/acpi/piix4.c | 63 ++++++++++++--------- hw/block/fdc.c | 126 ++++++++++++++++++++++++++----------= ------ hw/block/pflash_cfi01.c | 33 +++++------ hw/block/pflash_cfi02.c | 36 ++++++------ hw/display/vmware_vga.c | 36 +++++++----- hw/i2c/exynos4210_i2c.c | 2 +- hw/i386/kvm/clock.c | 18 +++--- hw/i386/kvmvapic.c | 12 ++-- hw/i386/pc_q35.c | 4 +- hw/ide/ahci.c | 39 +++++++------ hw/ide/ahci.h | 10 +++- hw/ide/ich.c | 32 +++++------ hw/intc/ioapic_common.c | 12 ++-- hw/isa/isa-bus.c | 8 --- hw/misc/ivshmem.c | 59 ++++++++++++-------- hw/misc/pci-testdev.c | 24 +++++--- hw/net/e1000.c | 53 +++++++++++------- hw/net/pcnet-pci.c | 21 ++++--- hw/net/rtl8139.c | 114 ++++++++++++++++++++++--------------= -- hw/nvram/fw_cfg.c | 42 ++++++++------ hw/pci-host/piix.c | 54 +++++++++++------- hw/pci-host/q35.c | 68 ++++++++++++----------- hw/pci/pci-hotplug-old.c | 2 +- hw/scsi/esp-pci.c | 36 ++++++++---- hw/scsi/esp.c | 42 ++++++++------ hw/scsi/lsi53c895a.c | 79 ++++++++++++++++---------- hw/scsi/megasas.c | 71 +++++++++++++++--------- hw/scsi/scsi-bus.c | 22 +++++--- hw/scsi/spapr_vscsi.c | 7 ++- hw/scsi/virtio-scsi.c | 7 ++- hw/scsi/vmw_pvscsi.c | 4 +- hw/timer/hpet.c | 51 ++++++++++------- hw/timer/imx_epit.c | 2 +- hw/timer/imx_gpt.c | 2 +- hw/usb/ccid-card-passthru.c | 2 +- hw/usb/dev-smartcard-reader.c | 2 +- hw/usb/dev-storage.c | 4 +- hw/usb/hcd-ohci.c | 51 ++++++++++------- hw/usb/hcd-xhci.c | 104 ++++++++++++++++++++-------------- hw/xen/xen_platform.c | 35 +++++++----- include/hw/pci-host/q35.h | 10 +++- include/hw/scsi/scsi.h | 4 +- include/hw/sysbus.h | 12 ++++ 43 files changed, 855 insertions(+), 560 deletions(-)