trivial patches for event, error and monitor
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | block: use type MonitorEvent directlyblock.c include/ | +2 | 0 replies | |
| 2/13 | block: do not include monitor.h in block.cblock.c | +0 | 2 replies | |
| 3/13 | qapi: move MonitorEvent defineinclude/ include/ include/ | +68 | 3 replies | |
| 4/13 | qapi: rename MonitorEvent to QEventblock.c include/ include/ +4 more | +13 | 0 replies | |
| 5/13 | error: define struct Error in only one placeinclude/ qobject/ util/ | +4 | 3 replies | |
| 6/13 | error: remove error_printf_unless_qmp()hw/ hw/ include/ +1 more | +3 | 2 replies | |
| 7/13 | error: make error_print_loc() staticinclude/ util/ | +1 | 1 reply | |
| 8/13 | error: don't set sep when print prognameutil/ | +2 | 3 replies | |
| 9/13 | error: print progname with error_vprintf()util/ | +10 | 2 replies | |
| 10/13 | qerror: deref once in qerror_report()qobject/ | +0 | 2 replies | |
| 11/13 | qerror: folder qerror emit logicqobject/ | +16 | 1 reply | |
| 12/13 | monitor: hide *cur_mon in monitor_get_fd()dump.c include/ migration-fd.c +4 more | +13 | 2 replies | |
| 13/13 | stubs: do not call monitor_printf()stubs/ | +0 | 2 replies |
Reviews trailers per patch
6 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | Paolo Bonzini |
|---|---|---|
| 1/13 | R-b | |
| 2/13 | R-b | |
| 3/13 | ||
| 4/13 | R-b | |
| 5/13 | ||
| 6/13 | R-b | |
| 7/13 | R-b | |
| 8/13 | ||
| 9/13 | ||
| 10/13 | ||
| 11/13 | R-b | |
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 00/13] trivial patches for event, error and monitor
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