diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-06-16 00:38:45 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2010-07-01 14:27:13 -0300 |
commit | 8d7e84571bd3f44c106ed12cb316b1ca30915fc7 (patch) | |
tree | 066512281ff35aca29bb3857d3db89096fbb4954 /QMP/qmp-shell | |
parent | 8ac470c1f945601de9f1f577791c48e95d5340db (diff) | |
download | qemu-8d7e84571bd3f44c106ed12cb316b1ca30915fc7.tar.gz qemu-8d7e84571bd3f44c106ed12cb316b1ca30915fc7.tar.bz2 qemu-8d7e84571bd3f44c106ed12cb316b1ca30915fc7.zip |
QMP: Teach basic capability negotiation to python example
As sending "qmp_capabilities" on session start became mandatory, both
python examples were broken.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'QMP/qmp-shell')
-rwxr-xr-x | QMP/qmp-shell | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/QMP/qmp-shell b/QMP/qmp-shell index f89b9af87e..a5b72d15d1 100755 --- a/QMP/qmp-shell +++ b/QMP/qmp-shell @@ -42,6 +42,7 @@ def main(): qemu = qmp.QEMUMonitorProtocol(argv[1]) qemu.connect() + qemu.send("qmp_capabilities") print 'Connected!' |