All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hu Tao <hutao@cn.fujitsu.com>
To: qemu-devel <qemu-devel@nongnu.org>
Cc: "Peter Crosthwaite" <peter.crosthwaite@xilinx.com>,
	"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH 00/26] use realizefn for SysBusDevice, part 1
Date: Sat, 22 Jun 2013 16:50:12 +0800	[thread overview]
Message-ID: <cover.1371804804.git.hutao@cn.fujitsu.com> (raw)

This series updates part of devices inheriting from SysbusDevice
to use DeviceState::realize, and QOM'ify them.

These devices are default to x86_64-softmmu. I'm planning to
make patches in the same manner, that is, each series is for
devices default to each target. After all devices are converted
to realizefn, SysBusDevice::init can be removed.


Hu Tao (26):
  ohci: use realize for ohci
  ohci: QOM'ify some more
  i440fx-pcihost: use realize for i440fx-pcihost
  i440fx: use type-safe cast instead of directly access of parent dev
  q35: use realize for q35 host
  q35: use type-safe cast instead of directly access of parent dev
  fdc: use realize for fdc.
  fdc: QOM'ify some more
  pflash_cfi01: use realize for pflash_cfi01
  pflash-cfi01: QOM'ify some more
  pflash_cfi02: use realize for pflash_cfi02
  pflash-cfi02: QOM'ify some more
  ahci: use realize for ahci
  ahci: QOM'ify some more
  fwcfg: use realize for fwcfg
  fwcfg: QOM'ify some more
  scsi esp: use realize for scsi esp
  scsi esp: QOM'ify some more
  hpet: use realize for hpet
  hpet: QOM'ify some more
  kvmclock: use realize for kvmclock
  kvmclock: QOM'ify some more
  kvmvapic realize
  ioapic: use realize for ioapic
  isa bus: use realize for isa bus
  ehci: use realize for ehci

 hw/block/fdc.c           | 84 ++++++++++++++++++++++++++++++------------------
 hw/block/pflash_cfi01.c  | 28 ++++++++--------
 hw/block/pflash_cfi02.c  | 31 +++++++++---------
 hw/i386/kvm/clock.c      | 17 +++++-----
 hw/i386/kvmvapic.c       | 12 +++----
 hw/ide/ahci.c            | 23 ++++++-------
 hw/intc/ioapic_common.c  | 10 +++---
 hw/isa/isa-bus.c         |  7 ++--
 hw/nvram/fw_cfg.c        | 38 +++++++++++++---------
 hw/pci-host/piix.c       | 36 +++++++++++++--------
 hw/pci-host/q35.c        | 60 +++++++++++++++++-----------------
 hw/scsi/esp.c            | 46 ++++++++++++++++----------
 hw/timer/hpet.c          | 43 +++++++++++++++----------
 hw/usb/hcd-ehci-sysbus.c | 11 +++----
 hw/usb/hcd-ohci.c        | 27 +++++++++-------
 15 files changed, 263 insertions(+), 210 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2013-06-22  8:51 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-22  8:50 Hu Tao [this message]
2013-06-22  8:50 ` [Qemu-devel] [PATCH 01/26] ohci: use realize for ohci Hu Tao
2013-06-24  5:54   ` Peter Crosthwaite
2013-06-24  6:11     ` Hu Tao
2013-06-24  6:17       ` Peter Crosthwaite
2013-06-25  1:54         ` Hu Tao
2013-06-24 14:01   ` Eduardo Habkost
2013-06-22  8:50 ` [Qemu-devel] [PATCH 02/26] ohci: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 03/26] i440fx-pcihost: use realize for i440fx-pcihost Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 04/26] i440fx: use type-safe cast instead of directly access of parent dev Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 05/26] q35: use realize for q35 host Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 06/26] q35: use type-safe cast instead of directly access of parent dev Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 07/26] fdc: use realize for fdc Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 08/26] fdc: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 09/26] pflash_cfi01: use realize for pflash_cfi01 Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 10/26] pflash-cfi01: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 11/26] pflash_cfi02: use realize for pflash_cfi02 Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 12/26] pflash-cfi02: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 13/26] ahci: use realize for ahci Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 14/26] ahci: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 15/26] fwcfg: use realize for fwcfg Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 16/26] fwcfg: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 17/26] scsi esp: use realize for scsi esp Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 18/26] scsi esp: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 19/26] hpet: use realize for hpet Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 20/26] hpet: QOM'ify some more Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 21/26] kvmclock: use realize for kvmclock Hu Tao
2013-06-24 10:14   ` Igor Mammedov
2013-06-25  1:55     ` Hu Tao
2013-06-24 14:01   ` Eduardo Habkost
2013-06-25  2:20     ` Hu Tao
2013-06-25 17:45       ` Eduardo Habkost
2013-06-30 14:36         ` Andreas Färber
2013-07-01  9:31           ` Hu Tao
2013-07-01 10:20             ` Andreas Färber
2013-06-22  8:50 ` [Qemu-devel] [PATCH 22/26] kvmclock: QOM'ify some more Hu Tao
2013-06-24 13:33   ` Eduardo Habkost
2013-06-22  8:50 ` [Qemu-devel] [PATCH 23/26] kvmvapic realize Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 24/26] ioapic: use realize for ioapic Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 25/26] isa bus: use realize for isa bus Hu Tao
2013-06-30 14:57   ` Andreas Färber
2013-07-01  5:30     ` Hu Tao
2013-06-22  8:50 ` [Qemu-devel] [PATCH 26/26] ehci: use realize for ehci Hu Tao
2013-06-22 10:38   ` Andreas Färber
2013-06-30 14:41     ` Andreas Färber
2013-06-30 16:45 ` [Qemu-devel] [PATCH 00/26] use realizefn for SysBusDevice, part 1 Andreas Färber
2013-07-01  5:31   ` Hu Tao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1371804804.git.hutao@cn.fujitsu.com \
    --to=hutao@cn.fujitsu.com \
    --cc=afaerber@suse.de \
    --cc=peter.crosthwaite@xilinx.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.