Statistics
| Branch: | Revision:

root / QMP @ c09015dd

Name Size
README 2.8 kB
qmp 3.1 kB
qmp-events.txt 7.6 kB
qmp-shell 7.7 kB
qmp-spec.txt 9.2 kB
qmp.py 4.7 kB

Latest revisions

# Date Author Comment
1c1d46cc 12/06/2011 03:40 pm Mark Wu

qmp: add test tool for QMP

Anthony wrote this quickly to aid in testing. It's similar to qmp-shell with
a few important differences:

1) It is not interactive. That makes it useful for scripting.

2) qmp-shell:

(QEMU) set_password protocol=vnc password=foo...

dee3bffc 12/02/2011 12:50 pm Dong Xu Wang

fix spelling in QMP sub directory

Cc: Markus Armbruster <>
Acked-by: Luiz Capitulino <>
Signed-off-by: Dong Xu Wang <>
Signed-off-by: Stefan Hajnoczi <>

91b8eddf 06/01/2011 05:43 pm Stefan Hajnoczi

QMP: add get_events(wait=True) option

The get_events() function polls for new QMP events and then returns. It
can be useful to wait for the next QMP event so add the boolean 'wait'
keyword argument.

Signed-off-by: Stefan Hajnoczi <>...

37628f11 06/01/2011 05:43 pm Stefan Hajnoczi

QMP: add server mode to QEMUMonitorProtocol

QEMU supports socket chardevs that establish connections like a server
or a client. The QEMUMonitorProtocol class only supports connecting as
a client. It is not possible to connect race-free when launching QEMU...

6f8c63fb 12/09/2010 03:23 pm Gerd Hoffmann

spice: connection events.

This patch adds support for connection events to spice. The events are
quite simliar to the vnc events. Unlike vnc spice uses multiple tcp
channels though. qemu will report every single tcp connection (aka
spice channel). If you want track spice sessions only you can filter...

11217a75 11/17/2010 01:52 pm Luiz Capitulino

QMP/qmp-shell: Introduce HMP mode

In which qmp-shell will exclusively use the HMP passthrough feature,
this is useful for testing.

Example:

  1. ./qmp-shell -H qmp-sock
    Welcome to the HMP shell!
    Connected to QEMU 0.13.50
(QEMU) info network...
1d00a07d 11/17/2010 01:51 pm Luiz Capitulino

QMP: Revamp the Python class example

This commit simplifies and fixes a number of problems in the Python
QEMUMonitorProtocol example class.

It's almost a rewrite and it DOES BREAK the qmp-shell script (which
is going to be fixed in the next commit).

However, I'm not going to split this in different commits because it...

9bed0d0d 11/17/2010 01:51 pm Luiz Capitulino

QMP: Revamp the qmp-shell script

This commit updates the qmp-shell script to use the new interface
introduced by the last commit.

Additionally, the following fixes/features are also introduced:

o TCP sockets support
o Update/add documentation
o Simple command-line completion...
4cdbc094 11/17/2010 01:51 pm Luiz Capitulino

QMP: Drop vm-info example script

It's broken and not really useful, let's just drop it.

Signed-off-by: Luiz Capitulino <>

7af72c24 10/22/2010 03:08 pm Hidetoshi Seto

Trivial fix for QMP/qmp-events.txt

Fix example of STOP event that was just copy-and-pasted.

Signed-off-by: Hidetoshi Seto <>
Signed-off-by: Luiz Capitulino <>

View revisions

Also available in: Atom