| Branch: | Revision:

root / QMP @ 37628f11

Name Size
qmp-events.txt 7.6 kB
qmp-shell 7.7 kB
qmp-spec.txt 9.2 kB 4.7 kB

Latest revisions

# Date Author Comment
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.


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

a18b2ce2 10/01/2010 04:20 pm Luiz Capitulino

QMP/README: Update QMP homepage address

Signed-off-by: Luiz Capitulino <>

82a56f0d 10/01/2010 04:20 pm Luiz Capitulino

Monitor: Introduce the qmp-commands.hx file

This file contains a copy of the following information from the
qemu-monitor.hx file:

o QObject handlers entries
o QMP documentation (all SQMP/EQMP sections)

Right now it's only used to generate the QMP docs in QMP/, but...

View revisions

Also available in: Atom