qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/13] trivial patches for event, error and monitor
@ 2013-10-18  1:11 Wenchao Xia
  2013-10-18  1:11 ` [Qemu-devel] [PATCH 01/13] block: use type MonitorEvent directly Wenchao Xia
                   ` (12 more replies)
  0 siblings, 13 replies; 37+ messages in thread
From: Wenchao Xia @ 2013-10-18  1:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha, lcapitulino, pbonzini, Wenchao Xia

I was trying to decouple components between block and qemu code, and reduce
stub files. I found fixing some small code problem found could help, so pick up
those which can benifit upstream code either and send them as separate series.

patch 1 to 4 comes from my RFC series earlier with title:
Remove stub mon-protocol-event for block

Wenchao Xia (13):
  1 block: use type MonitorEvent directly
  2 block: do not include monitor.h in block.c
  3 qapi: move MonitorEvent define
  4 qapi: rename MonitorEvent to QEvent
  5 error: define struct Error in only one place
  6 error: remove error_printf_unless_qmp()
  7 error: make error_print_loc() static
  8 error: don't set sep when print progname
  9 error: print progname with error_vprintf()
  10 qerror: deref once in qerror_report()
  11 qerror: folder qerror emit logic
  12 monitor: hide *cur_mon in monitor_get_fd()
  13 stubs: do not call monitor_printf()

 block.c                     |    3 +-
 dump.c                      |    2 +-
 hw/usb/bus.c                |    2 +-
 hw/usb/hcd-ehci.c           |    4 +-
 include/block/block_int.h   |    2 +-
 include/monitor/monitor.h   |   42 ++-------------------------
 include/qapi/error.h        |    5 ++-
 include/qapi/qmp/qevent.h   |   66 +++++++++++++++++++++++++++++++++++++++++++
 include/qapi/qmp/types.h    |    1 +
 include/qemu/error-report.h |    2 -
 migration-fd.c              |    2 +-
 monitor.c                   |   19 ++++++++----
 qmp.c                       |    2 +-
 qobject/qerror.c            |   36 ++++++++++-------------
 stubs/get-fd.c              |    2 +-
 stubs/mon-protocol-event.c  |    2 +-
 stubs/pci-drive-hot-add.c   |    1 -
 ui/vnc.c                    |    2 +-
 util/error.c                |    6 ----
 util/qemu-error.c           |   27 ++++++++----------
 util/qemu-sockets.c         |    4 +-
 21 files changed, 127 insertions(+), 105 deletions(-)
 create mode 100644 include/qapi/qmp/qevent.h

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

end of thread, other threads:[~2013-10-21  6:14 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18  1:11 [Qemu-devel] [PATCH 00/13] trivial patches for event, error and monitor Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 01/13] block: use type MonitorEvent directly Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 02/13] block: do not include monitor.h in block.c Wenchao Xia
2013-10-18  9:36   ` Paolo Bonzini
2013-10-21  2:43     ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 03/13] qapi: move MonitorEvent define Wenchao Xia
2013-10-18  9:36   ` Paolo Bonzini
2013-10-18 12:38     ` Eric Blake
2013-10-21  2:44       ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 04/13] qapi: rename MonitorEvent to QEvent Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 05/13] error: define struct Error in only one place Wenchao Xia
2013-10-18  9:37   ` Paolo Bonzini
2013-10-18 11:22     ` Markus Armbruster
2013-10-21  2:46       ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 06/13] error: remove error_printf_unless_qmp() Wenchao Xia
2013-10-18  9:39   ` Paolo Bonzini
2013-10-18 11:29   ` Markus Armbruster
2013-10-18  1:11 ` [Qemu-devel] [PATCH 07/13] error: make error_print_loc() static Wenchao Xia
2013-10-18 12:39   ` Eric Blake
2013-10-18  1:11 ` [Qemu-devel] [PATCH 08/13] error: don't set sep when print progname Wenchao Xia
2013-10-18  9:43   ` Paolo Bonzini
2013-10-18 11:40     ` Markus Armbruster
2013-10-21  3:31       ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 09/13] error: print progname with error_vprintf() Wenchao Xia
2013-10-18  9:44   ` Paolo Bonzini
2013-10-21  3:33     ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 10/13] qerror: deref once in qerror_report() Wenchao Xia
2013-10-18  9:46   ` Paolo Bonzini
2013-10-21  3:35     ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 11/13] qerror: folder qerror emit logic Wenchao Xia
2013-10-18  9:49   ` Paolo Bonzini
2013-10-18  1:11 ` [Qemu-devel] [PATCH 12/13] monitor: hide *cur_mon in monitor_get_fd() Wenchao Xia
2013-10-18  9:51   ` Paolo Bonzini
2013-10-21  3:36     ` Wenchao Xia
2013-10-18  1:11 ` [Qemu-devel] [PATCH 13/13] stubs: do not call monitor_printf() Wenchao Xia
2013-10-18  9:52   ` Paolo Bonzini
2013-10-21  6:04     ` Wenchao Xia

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