qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v6 0/5] QOM'ify hw/char devices
@ 2016-05-25  6:38 xiaoqiang zhao
  2016-05-25  6:39 ` [Qemu-devel] [PATCH v6 1/5] hw/char: QOM'ify escc.c xiaoqiang zhao
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: xiaoqiang zhao @ 2016-05-25  6:38 UTC (permalink / raw)
  To: qemu-devel
  Cc: pbonzini, michael, peter.maydell, edgar.iglesias, agraf, armbru

This patch set trys to QOM'ify hw/char files, see commit messages 
for more details

Thanks Paolo <pbonzini@redhat.com> for your suggestions.

Note:
* CRIS axis_dev88 broad related test is passed and looks ok. 
* lm32 test cases by Michael <michael@walle.cc> is passed and looks good.
* lm32 milkymist need test by Michael.

Changes in v6:
* change lm32_juart_init to accept CharDriverState pointer as a parameter
* QOM'ify milkymist-uart to drop qemu_char_get_next_serial

Changes in v5: 
  drop the call of qemu_char_get_next_serial in board code and 
  direct access serial_hds array

Changes in v4: 
* add wrapper functions to create char device
* drop the sysbus_create_simple function and 
  use the new qdev_create stuff

Changes in v3: 
* use chardev property instead of qemu_char_get_next_serial
* call the functions that touch globals in the realize callback

xiaoqiang zhao (5):
  hw/char: QOM'ify escc.c
  hw/char: QOM'ify etraxfs_ser.c
  hw/char: QOM'ify lm32_juart.c
  hw/char: QOM'ify lm32_uart.c
  hw/char: QOM'ify milkymist-uart.c

 hw/char/escc.c            | 30 +++++++++++++++++++-----------
 hw/char/etraxfs_ser.c     | 27 +++++++++++++++++----------
 hw/char/lm32_juart.c      | 17 ++++++++---------
 hw/char/lm32_uart.c       | 28 +++++++++++++++++-----------
 hw/char/milkymist-uart.c  | 10 ++++++----
 hw/cris/axis_dev88.c      |  4 ++--
 hw/lm32/lm32.h            | 19 ++++++++++++++++++-
 hw/lm32/lm32_boards.c     |  9 +++++----
 hw/lm32/milkymist-hw.h    |  4 +++-
 hw/lm32/milkymist.c       |  4 ++--
 include/hw/cris/etraxfs.h | 16 ++++++++++++++++
 11 files changed, 113 insertions(+), 55 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-05-25  9:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25  6:38 [Qemu-devel] [PATCH v6 0/5] QOM'ify hw/char devices xiaoqiang zhao
2016-05-25  6:39 ` [Qemu-devel] [PATCH v6 1/5] hw/char: QOM'ify escc.c xiaoqiang zhao
2016-05-25  6:39 ` [Qemu-devel] [PATCH v6 2/5] hw/char: QOM'ify etraxfs_ser.c xiaoqiang zhao
2016-05-25  6:39 ` [Qemu-devel] [PATCH v6 3/5] hw/char: QOM'ify lm32_juart.c xiaoqiang zhao
2016-05-25  8:48   ` Michael Walle
2016-05-25  6:39 ` [Qemu-devel] [PATCH v6 4/5] hw/char: QOM'ify lm32_uart.c xiaoqiang zhao
2016-05-25  6:39 ` [Qemu-devel] [PATCH v6 5/5] hw/char: QOM'ify milkymist-uart.c xiaoqiang zhao
2016-05-25  8:49   ` Michael Walle
2016-05-25  8:20 ` [Qemu-devel] [PATCH v6 0/5] QOM'ify hw/char devices Paolo Bonzini
2016-05-25  9:03 ` Michael Walle
2016-05-25  9:06   ` Paolo Bonzini

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