[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/16] Make qemu-io commands available in the monito
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH 00/16] Make qemu-io commands available in the monitor |
Date: |
Tue, 28 May 2013 17:27:20 +0200 |
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.
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 the monitor
Makefile | 2 +-
Makefile.objs | 1 +
blockdev.c | 15 +
cmd.c | 612 -------------
cmd.h | 79 --
hmp-commands.hx | 16 +
hmp.c | 10 +
hmp.h | 1 +
include/qemu-common.h | 3 +
include/qemu-io.h | 46 +
monitor.c | 8 +-
qapi-schema.json | 16 +
qemu-img.c | 10 +-
qemu-io-cmds.c | 2118 ++++++++++++++++++++++++++++++++++++++++++++
qemu-io.c | 1988 ++++-------------------------------------
qmp-commands.hx | 28 +
tests/qemu-iotests/049.out | 8 +-
util/cutils.c | 25 +
18 files changed, 2466 insertions(+), 2520 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
- [Qemu-devel] [PATCH 00/16] Make qemu-io commands available in the monitor,
Kevin Wolf <=
- [Qemu-devel] [PATCH 01/16] qemu-io: Remove unused args_command, Kevin Wolf, 2013/05/28
- [Qemu-devel] [PATCH 02/16] cutils: Support 'P' and 'E' suffixes in strtosz(), Kevin Wolf, 2013/05/28
- [Qemu-devel] [PATCH 03/16] qemu-io: Make cvtnum() a wrapper around strtosz_suffix(), Kevin Wolf, 2013/05/28
- [Qemu-devel] [PATCH 04/16] qemu-io: Handle cvtnum() errors in 'alloc', Kevin Wolf, 2013/05/28
- [Qemu-devel] [PATCH 05/16] qemu-io: Don't use global bs in command implementations, Kevin Wolf, 2013/05/28