Statistics
| Branch: | Revision:

root / QMP @ 8bdd3d49

Name Size
README 2.8 kB
qmp 3.1 kB
qmp-events.txt 10.7 kB
qmp-shell 8.2 kB
qmp-spec.txt 9.7 kB
qmp.py 4.8 kB
qom-fuse 4.3 kB
qom-get 1.5 kB
qom-list 1.5 kB
qom-set 1.5 kB

Latest revisions

# Date Author Comment
fa779b65 09/05/2012 09:48 pm Daniel P. Berrange

Add support for pretty-printing response in qmp-shell

Add a '-p' arg to the QMP/qmp-shell test program, which uses
the python pprint module to pretty-print the dictionary
returned from a command

$ qmp-shell -p /tmp/qemu
Welcome to the QMP low-level shell!...
17c8660b 08/13/2012 10:10 pm Luiz Capitulino

qmp: emit the WAKEUP event when the guest is put to run

Today, the WAKEUP event is emitted when a wakeup request is made.
This could be the system_wakeup command, for example.

A better semantic would be to emit the event when the guest is
already running, as that's what matters in the end. This commit does...

cb8900fe 08/13/2012 10:10 pm Luiz Capitulino

qmp: qmp-events.txt: put events in alphabetical order

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Eric Blake <>
Acked-by: Gerd Hoffmann <>

67e3cf26 08/13/2012 10:10 pm Luiz Capitulino

qmp: qmp-events.txt: add missing doc for the SUSPEND event

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Eric Blake <>
Acked-by: Gerd Hoffmann <>

25df49f6 08/13/2012 10:10 pm Luiz Capitulino

qmp: add SUSPEND_DISK event

Emitted when the guest makes a request to enter S4 state.

There are three possible ways of having this event, as described here:

http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg02307.html

I've decided to add a new event and make it indepedent of SHUTDOWN....

de253f14 08/13/2012 08:17 pm Luiz Capitulino

qmp: switch to the new error format on the wire

IMPORTANT: this BREAKS QMP's compatibility for the error response.

This commit changes QMP's wire protocol to make use of the simpler
error format introduced by previous commits.

There are two important (and mostly incompatible) changes:...

973603a8 06/15/2012 07:34 pm Daniel P. Berrange

Add event notification for guest balloon changes

After setting a balloon target value, applications have to
continually poll 'query-balloon' to determine whether the
guest has reacted to this request. The virtio-balloon backend
knows exactly when the guest has reacted though, and thus it...

5ade7674 04/26/2012 09:14 pm Anthony Liguori

qom: quick and dirty QOM filesystem based on FUSE

Here's an example session:

anthony@titi:~/git/qemu/QMP$ QMP_SERVER=/tmp/server.sock ./qom-fuse tmp
anthony@titi:~/git/qemu/QMP$ ls tmp
machine sysbus type
anthony@titi:~/git/qemu/QMP$ ls tmp/machine
i440fx peripheral peripheral-anon type unattached...

1829851c 03/27/2012 03:15 pm Paolo Bonzini

qmp: document strict parsing

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Luiz Capitulino <>

6f382ed2 02/22/2012 09:23 pm Luiz Capitulino

qmp: add DEVICE_TRAY_MOVED event

It's emitted whenever the tray is moved by the guest or by HMP/QMP
commands.

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Markus Armbruster <>
Acked-by: Kevin Wolf <>

View revisions

Also available in: Atom