Revision ca9567e2 QMP/qmp-spec.txt
b/QMP/qmp-spec.txt | ||
---|---|---|
48 | 48 |
|
49 | 49 |
The format is: |
50 | 50 |
|
51 |
{ "QMP": { "capabilities": json-array } } |
|
51 |
{ "QMP": { "version": json-object, "capabilities": json-array } }
|
|
52 | 52 |
|
53 | 53 |
Where, |
54 | 54 |
|
55 |
- The "version" member contains the Server's version information (the format |
|
56 |
is the same of the 'query-version' command) |
|
55 | 57 |
- The "capabilities" member specify the availability of features beyond the |
56 | 58 |
baseline specification |
57 | 59 |
|
... | ... | |
152 | 154 |
3.1 Server greeting |
153 | 155 |
------------------- |
154 | 156 |
|
155 |
S: {"QMP": {"capabilities": []}} |
|
157 |
S: {"QMP": {"version": {"qemu": "0.12.50", "package": ""}, "capabilities": []}}
|
|
156 | 158 |
|
157 | 159 |
3.2 Simple 'stop' execution |
158 | 160 |
--------------------------- |
Also available in: Unified diff