qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/16] Make qemu-io commands available in the monitor
@ 2013-06-05 12:19 Kevin Wolf
  2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 01/16] qemu-io: Remove unused args_command Kevin Wolf
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Kevin Wolf @ 2013-06-05 12:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, pbonzini, stefanha, lcapitulino

This is a prerequisite for some kind of tests. It involves reorganising the
qemu-io code so that the command part can be separated and doesn't pollute the
global namespace any more, so we can link it with qemu.

v2:
- Drop the QMP command, make it HMP only
- Minor review comments like typos

Kevin Wolf (16):
  qemu-io: Remove unused args_command
  cutils: Support 'P' and 'E' suffixes in strtosz()
  qemu-io: Make cvtnum() a wrapper around strtosz_suffix()
  qemu-io: Handle cvtnum() errors in 'alloc'
  qemu-io: Don't use global bs in command implementations
  qemu-io: Split off commands to qemu-io-cmds.c
  qemu-io: Factor out qemuio_command
  qemu-io: Move 'help' function
  qemu-io: Move 'quit' function
  qemu-io: Move qemu_strsep() to cutils.c
  qemu-io: Move functions for registering and running commands
  qemu-io: Move command_loop() and friends
  qemu-io: Move remaining helpers from cmd.c
  qemu-io: Interface cleanup
  qemu-io: Use the qemu version for -V
  Make qemu-io commands available in HMP

 Makefile                   |    2 +-
 Makefile.objs              |    1 +
 cmd.c                      |  612 -------------
 cmd.h                      |   79 --
 hmp-commands.hx            |   16 +
 hmp.c                      |   18 +
 hmp.h                      |    1 +
 include/qemu-common.h      |    3 +
 include/qemu-io.h          |   46 +
 monitor.c                  |    8 +-
 qemu-img.c                 |   10 +-
 qemu-io-cmds.c             | 2118 ++++++++++++++++++++++++++++++++++++++++++++
 qemu-io.c                  | 1990 ++++-------------------------------------
 tests/qemu-iotests/049.out |    8 +-
 util/cutils.c              |   25 +
 15 files changed, 2416 insertions(+), 2521 deletions(-)
 delete mode 100644 cmd.c
 delete mode 100644 cmd.h
 create mode 100644 include/qemu-io.h
 create mode 100644 qemu-io-cmds.c

-- 
1.8.1.4

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

end of thread, other threads:[~2013-06-07 14:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 12:19 [Qemu-devel] [PATCH v2 00/16] Make qemu-io commands available in the monitor Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 01/16] qemu-io: Remove unused args_command Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 02/16] cutils: Support 'P' and 'E' suffixes in strtosz() Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 03/16] qemu-io: Make cvtnum() a wrapper around strtosz_suffix() Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 04/16] qemu-io: Handle cvtnum() errors in 'alloc' Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 05/16] qemu-io: Don't use global bs in command implementations Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 06/16] qemu-io: Split off commands to qemu-io-cmds.c Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 07/16] qemu-io: Factor out qemuio_command Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 08/16] qemu-io: Move 'help' function Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 09/16] qemu-io: Move 'quit' function Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 10/16] qemu-io: Move qemu_strsep() to cutils.c Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 11/16] qemu-io: Move functions for registering and running commands Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 12/16] qemu-io: Move command_loop() and friends Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 13/16] qemu-io: Move remaining helpers from cmd.c Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 14/16] qemu-io: Interface cleanup Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 15/16] qemu-io: Use the qemu version for -V Kevin Wolf
2013-06-05 12:19 ` [Qemu-devel] [PATCH v2 16/16] Make qemu-io commands available in HMP Kevin Wolf
2013-06-07 14:17   ` Luiz Capitulino
2013-06-06  9:46 ` [Qemu-devel] [PATCH v2 00/16] Make qemu-io commands available in the monitor Stefan Hajnoczi

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