History | View | Annotate | Download (4.7 kB)
QMP: add get_events(wait=True) option
The get_events() function polls for new QMP events and then returns. Itcan be useful to wait for the next QMP event so add the boolean 'wait'keyword argument.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
QMP: add server mode to QEMUMonitorProtocol
QEMU supports socket chardevs that establish connections like a serveror a client. The QEMUMonitorProtocol class only supports connecting asa client. It is not possible to connect race-free when launching QEMU...
QMP: Revamp the Python class example
This commit simplifies and fixes a number of problems in the PythonQEMUMonitorProtocol example class.
It's almost a rewrite and it DOES BREAK the qmp-shell script (whichis going to be fixed in the next commit).
However, I'm not going to split this in different commits because it...
QMP: Fix python helper /wrt long return strings
Remove the arbitrary limitation of 1024 characters per return string andread complete lines instead. Required for device_show.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
QMP: Introduce qmp-shell
This is a very simple shell written in Python for demonstrationpurposes.
Unfortunately it's a bit awkward right now, as the user hasto specify the arguments names and the printed data can bea raw dictionary or list, like the following example:...