Statistics
| Branch: | Revision:

root / qemu-io-cmds.c @ d9840e25

History | View | Annotate | Download (51.9 kB)

# Date Author Comment
6a1751b7 08/22/2013 08:10 pm Alex Bligh

aio / timers: Untangle include files

include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.

Signed-off-by: Alex Bligh <>...

c2cdf5c5 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Move functions for registering and running commands

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>
Signed-off-by: Stefan Hajnoczi <>

0b613881 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Move remaining helpers from cmd.c

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

3d21994f 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Interface cleanup

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

797ac58c 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Split off commands to qemu-io-cmds.c

This is the implementation of all qemu-io commands that make sense to be
called from the qemu monitor, i.e. everything except open, close and
quit.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>...

dd583296 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Factor out qemuio_command

It's duplicated code. Move it to qemu-io-cmds.c because it's not
dependent on any static data of the qemu-io tool.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>
Signed-off-by: Stefan Hajnoczi <>

f18a834a 06/06/2013 12:27 pm Kevin Wolf

qemu-io: Move 'help' function

No reason to treat it different from other commands. Move it to
qemu-io-cmds.c, adapt the coding style and register it like any other
command.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>...