qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/55] QOM devices patch queue 2013-07-22
@ 2013-07-22 23:45 Andreas Färber
  2013-07-22 23:45 ` [Qemu-devel] [PULL 01/55] hw: Avoid use of QOM type name macros in VMStateDescriptions Andreas Färber
                   ` (54 more replies)
  0 siblings, 55 replies; 56+ messages in thread
From: Andreas Färber @ 2013-07-22 23:45 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Peter Crosthwaite, Stefan Hajnoczi,
	Michael S. Tsirkin, Hu Tao, Anthony Liguori, Paolo Bonzini,
	Andreas Färber

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 <anthony@codemonkey.ws>

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: Hu Tao <hutao@cn.fujitsu.com>

Cc: Michael S. Tsirkin <mst@redhat.com> (pci)
Cc: Paolo Bonzini <pbonzini@redhat.com> (scsi)
Cc: Stefan Hajnoczi <stefanha@redhat.com> (fdc)

The following changes since commit 3464700f6aecb3e2aa9098839d90672d6b3fa974:

  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ärber (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(-)

^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2013-07-22 23:47 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22 23:45 [Qemu-devel] [PULL 00/55] QOM devices patch queue 2013-07-22 Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 01/55] hw: Avoid use of QOM type name macros in VMStateDescriptions Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 02/55] net/e1000: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 03/55] net/e1000: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 04/55] net/rtl8139: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 05/55] net/rtl8139: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 06/55] net/pcnet-pci: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 07/55] usb/hcd-xhci: " Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 08/55] usb/hcd-xhci: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 09/55] scsi/lsi53c895a: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 10/55] scsi/lsi53c895a: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 11/55] scsi/megasas: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 12/55] scsi/megasas: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 13/55] scsi/esp-pci: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 14/55] scsi/esp-pci: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 15/55] ide/ich: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 16/55] ide/ich: QOM parent field cleanup Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 17/55] acpi/piix4: QOM Upcast Sweep Andreas Färber
2013-07-22 23:45 ` [Qemu-devel] [PULL 18/55] acpi/piix4: QOM parent field cleanup Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 19/55] misc/pci-testdev: QOM Upcast Sweep Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 20/55] misc/pci-testdev: QOM parent field cleanup Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 21/55] display/vmware_vga: QOM casting sweep Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 22/55] display/vmware_vga: QOM parent field cleanup Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 23/55] misc/ivshmem: QOM Upcast Sweep Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 24/55] misc/ivshmem: QOM parent field cleanup Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 25/55] xen/xen_platform: QOM casting sweep Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 26/55] xen/xen_platform: QOM parent field cleanup Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 27/55] sysbus: Document SysBusDeviceClass::init and realize semantics Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 28/55] ohci: QOM'ify some more Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 29/55] ohci: Use QOM realize for OHCI Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 30/55] i440fx: Use type-safe cast instead of direct access of parent dev Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 31/55] i440fx-pcihost: Use QOM realize for i440fx-pcihost Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 32/55] q35: Use type-safe cast instead of direct access of parent dev Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 33/55] q35: Use QOM realize for q35 host bridge Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 34/55] fdc: QOM'ify some more Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 35/55] pflash-cfi01: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 36/55] pflash-cfi02: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 37/55] ahci: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 38/55] fwcfg: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 39/55] scsi/esp: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 40/55] hpet: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 41/55] kvm/clock: " Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 42/55] fdc: Use QOM realize for fdc Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 43/55] fdc: Improve error propagation for QOM realize Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 44/55] pflash_cfi01: Use QOM realize for pflash_cfi01 Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 45/55] pflash_cfi02: Use QOM realize for pflash_cfi02 Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 46/55] ahci: Use QOM realize for ahci Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 47/55] fw_cfg: Use QOM realize for fw_cfg Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 48/55] scsi/esp: Use QOM realize for scsi esp Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 49/55] megasas: Legacy command line handling fix Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 50/55] scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline() Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 51/55] hpet: Use QOM realize for hpet Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 52/55] kvm/clock: Use QOM realize for kvmclock Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 53/55] kvmvapic: Use QOM realize Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 54/55] ioapic: Use QOM realize for ioapic Andreas Färber
2013-07-22 23:46 ` [Qemu-devel] [PULL 55/55] isa-bus: Drop isabus_bridge_init() since it does nothing Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).