| Branch: | Revision:

root / QMP / @ 37628f11

History | View | Annotate | Download (4.7 kB)

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

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

bbafc7a8 07/01/2010 08:27 pm Jan Kiszka

QMP: Fix python helper /wrt long return strings

Remove the arbitrary limitation of 1024 characters per return string and
read complete lines instead. Required for device_show.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Luiz Capitulino <>

cedebdac 12/03/2009 05:41 pm Luiz Capitulino

QMP: Introduce qmp-shell

This is a very simple shell written in Python for demonstration

Unfortunately it's a bit awkward right now, as the user has
to specify the arguments names and the printed data can be
a raw dictionary or list, like the following example:...