[PATCH 0/4] monitor: Refactoring in preparation for qemu-storage-daemon

Kevin Wolf posted 4 patches 6 years, 1 month ago
Test asan failed
Test checkpatch failed
Test FreeBSD failed
Test docker-mingw@fedora failed
Test docker-clang@ubuntu failed
Test docker-quick@centos7 failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191218161952.10202-1-kwolf@redhat.com
Maintainers: Markus Armbruster <armbru@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Thomas Huth <thuth@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Michael Roth <mdroth@linux.vnet.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
qapi/misc.json             | 212 ------------------------------------
qapi/monitor.json          | 218 +++++++++++++++++++++++++++++++++++++
qapi/qapi-schema.json      |   1 +
include/monitor/monitor.h  |   4 +
include/sysemu/sysemu.h    |   1 -
monitor/monitor-internal.h |   4 +
monitor/hmp-cmds.c         |   1 +
monitor/misc.c             | 126 ---------------------
monitor/monitor.c          |  52 +++++++++
monitor/qmp-cmds-monitor.c | 169 ++++++++++++++++++++++++++++
monitor/qmp-cmds.c         |  15 +--
monitor/qmp.c              |   2 +-
tests/qmp-test.c           |   2 +-
ui/gtk.c                   |   1 +
vl.c                       |  45 +-------
monitor/Makefile.objs      |   3 +-
qapi/Makefile.objs         |   4 +-
17 files changed, 458 insertions(+), 402 deletions(-)
create mode 100644 qapi/monitor.json
create mode 100644 monitor/qmp-cmds-monitor.c
[PATCH 0/4] monitor: Refactoring in preparation for qemu-storage-daemon
Posted by Kevin Wolf 6 years, 1 month ago
This series creates a QAPI module 'monitor' that can be used from tools
outside the system emulator and movees some monitor initialisation code
from vl.c to monitor code.

It is split from the series to introduce qemu-storage-daemon because
these refactorings make sense on their own as cleanups.

Kevin Wolf (4):
  monitor: Move monitor option parsing to monitor/monitor.c
  qapi: Create module 'monitor'
  monitor: Create monitor/qmp-cmds-monitor.c
  monitor: Move qmp_query_qmp_schema to qmp-cmds-monitor.c

 qapi/misc.json             | 212 ------------------------------------
 qapi/monitor.json          | 218 +++++++++++++++++++++++++++++++++++++
 qapi/qapi-schema.json      |   1 +
 include/monitor/monitor.h  |   4 +
 include/sysemu/sysemu.h    |   1 -
 monitor/monitor-internal.h |   4 +
 monitor/hmp-cmds.c         |   1 +
 monitor/misc.c             | 126 ---------------------
 monitor/monitor.c          |  52 +++++++++
 monitor/qmp-cmds-monitor.c | 169 ++++++++++++++++++++++++++++
 monitor/qmp-cmds.c         |  15 +--
 monitor/qmp.c              |   2 +-
 tests/qmp-test.c           |   2 +-
 ui/gtk.c                   |   1 +
 vl.c                       |  45 +-------
 monitor/Makefile.objs      |   3 +-
 qapi/Makefile.objs         |   4 +-
 17 files changed, 458 insertions(+), 402 deletions(-)
 create mode 100644 qapi/monitor.json
 create mode 100644 monitor/qmp-cmds-monitor.c

-- 
2.20.1