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

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 is needed.

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

Changes in v2: 
* rename TYPE_SCLP_LM_CONSOLE to TYPE_SCLPLM_CONSOLE which is suggested by  
  Cornelia Huck <cornelia.huck@de.ibm.com>
* rebase on the current master

xiaoqiang zhao (4):
  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/escc.c            | 30 +++++++++++++++++++-----------
 hw/char/etraxfs_ser.c     | 27 +++++++++++++++++----------
 hw/char/lm32_juart.c      | 17 ++++++++---------
 hw/char/lm32_uart.c       | 28 +++++++++++++++++-----------
 hw/cris/axis_dev88.c      |  4 ++--
 hw/lm32/lm32.h            | 20 ++++++++++++++++++++
 hw/lm32/lm32_boards.c     |  4 ++--
 include/hw/cris/etraxfs.h | 16 ++++++++++++++++
 8 files changed, 101 insertions(+), 45 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-05-20 15:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-19  3:43 [Qemu-devel] [PATCH v4 0/4] QOM'ify hw/char devices xiaoqiang zhao
2016-05-19  3:43 ` [Qemu-devel] [PATCH v4 1/4] hw/char: QOM'ify escc.c xiaoqiang zhao
2016-05-19  3:43 ` [Qemu-devel] [PATCH v4 2/4] hw/char: QOM'ify etraxfs_ser.c xiaoqiang zhao
2016-05-19  3:43 ` [Qemu-devel] [PATCH v4 3/4] hw/char: QOM'ify lm32_juart.c xiaoqiang zhao
2016-05-19  3:43 ` [Qemu-devel] [PATCH v4 4/4] hw/char: QOM'ify lm32_uart.c xiaoqiang zhao
2016-05-19 11:32 ` [Qemu-devel] [PATCH v4 0/4] QOM'ify hw/char devices Paolo Bonzini
2016-05-19 11:51   ` michael
2016-05-19 13:45   ` michael
2016-05-20  2:41     ` xiaoqiang zhao
2016-05-20 11:08       ` Paolo Bonzini
2016-05-20 12:27         ` xiaoqiang zhao
2016-05-20 14:52       ` Markus Armbruster
2016-05-20 15:01         ` 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).