qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/8] QOM'ify hw/timer/*
@ 2016-02-25 10:30 xiaoqiang zhao
  2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 1/8] hw/timer: QOM'ify etraxfs_timer xiaoqiang zhao
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: xiaoqiang zhao @ 2016-02-25 10:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, i.mitsyanko, mark.cave-ayland, michael, qemu-arm,
	edgar.iglesias, gxt, afaerber

This patch series QOM'ify timer code under hw/timer directory.
Main idea is to split the initfn's work, some to TypeInfo.instance_init
and some is placed in DeviceClass::realize.
Drop the use of SysBusDeviceClass::init if possible.

Patch 3,4 (m48t59) has been tested in a sparc vm with debian linux guest
and savevm/loadvm looks fine.

Comments from the relevant maintainers are needed!

changes in v5:
* drop patch 'hw/timer: QOM'ify tusb6010'
* fix minor errors in grlib_gptimer.c
* correct the usage of vmstate for M48txxISAState and M48txxSysBusState


changes in v4: 
* correct some misused "Reviewed-by" tags
* fix 'make check' fail case in the "/arm/device/introspect/concrete"
  test in tusb6010.c 

changes in v3: 
* remove unnecessary OBJECT cast
* refine some commit message
* use DeviceClass::vmsd instead of vmstate_register to register
  the VMState if possible

changes in v2: 
fix a stupid typo (timmer->timer)


xiaoqiang zhao (8):
  hw/timer: QOM'ify etraxfs_timer
  hw/timer: QOM'ify lm32_timer
  hw/timer: QOM'ify m48txx_sysbus (pass 1)
  hw/timer: QOM'ify m48txx_sysbus (pass 2)
  hw/timer: QOM'ify milkymist_sysctl
  hw/timer: QOM'ify puv3_ost
  hw/timer: QOM'ify slavio_timer
  hw/timer: QOM'ify grlib_gptimer

 hw/timer/etraxfs_timer.c    | 14 +++++------
 hw/timer/grlib_gptimer.c    | 32 ++++++++++++++----------
 hw/timer/lm32_timer.c       | 19 +++++++++------
 hw/timer/m48t59.c           | 59 ++++++++++++++++++++++++++++++---------------
 hw/timer/milkymist-sysctl.c | 21 ++++++++++------
 hw/timer/puv3_ost.c         | 18 ++++----------
 hw/timer/slavio_timer.c     | 12 ++++-----
 7 files changed, 101 insertions(+), 74 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-03-16  2:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 10:30 [Qemu-devel] [PATCH v5 0/8] QOM'ify hw/timer/* xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 1/8] hw/timer: QOM'ify etraxfs_timer xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 2/8] hw/timer: QOM'ify lm32_timer xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 3/8] hw/timer: QOM'ify m48txx_sysbus (pass 1) xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 4/8] hw/timer: QOM'ify m48txx_sysbus (pass 2) xiaoqiang zhao
2016-02-25 10:52   ` Peter Maydell
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 5/8] hw/timer: QOM'ify milkymist_sysctl xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 6/8] hw/timer: QOM'ify puv3_ost xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 7/8] hw/timer: QOM'ify slavio_timer xiaoqiang zhao
2016-02-25 10:30 ` [Qemu-devel] [PATCH v5 8/8] hw/timer: QOM'ify grlib_gptimer xiaoqiang zhao
2016-02-25 10:53 ` [Qemu-devel] [PATCH v5 0/8] QOM'ify hw/timer/* Peter Maydell
2016-03-03  6:31   ` hitmoon
2016-03-16  2:26     ` hitmoon

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).