QMP: Introduce commands documentation
One of the most important missing feature in QMP today is itssupported commands documentation.
The plan is to make it part of self-description support, howeverself-description is a big task we have been postponing for a...
QMP: Add "Downstream extension of QMP" to spec
Signed-off-by: Markus Armbruster <armbru@redhat.com>
QMP: Introduce RESUME event
It's emitted when the Virtual Machine resumes execution.
We currently have the STOP event but don't have the matchingRESUME one, this means that clients are notified when the VMis stopped but don't get anything when it resumes....
QMP: Improve RTC_CHANGE event description
Some people might think that this event is emitted whenever thetime changes, be more specific.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
QMP: Introduce WATCHDOG event
It's emitted whenever the watchdog device's timer expires. The actiontaken is provided in the 'data' member.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
QMP: Introduce RTC_CHANGE event
Emitted whenever the RTC time changes.
QMP: Drop DEBUG event
This event has been introduced in the first round of QMP commits,turns out that it's based on the usage of the EXCP_DEBUG macro,which has discussable semantics when exposed through QMP.
As libvirt doesn't use this, let's just drop it....
QMP: Revamp the qmp-events.txt file
Now we can say it's useful, the following changes have been made:
- Put events in alphabetical order- Add examples to all events- Document all 'data' members- Small corrections and cleanups
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>...
QMP: Add QEMU's version to the greeting message
With capability negotiation support clients will only have a chanceto check QEMU's version (ie. issue 'query-version') after thenegotiation procedure is done.
It might be useful to clients to check QEMU's version before...
QMP: spec: Capability negotiation updates
QMP: BLOCK_IO_ERROR event handling
This commit adds the basic definitions for the BLOCK_IO_ERRORevent, but actual event emission will be introduced by thenext commits.
QMP: Introduce VNC_INITIALIZED event
It's emitted when a VNC client session is activated by QEMU,client's information such as port, IP and auth ID (if thesession is authenticated) are provided.
Event example:
{ "event": "VNC_INITIALIZED", "timestamp": {"seconds": 1263475302, "microseconds": 150772},...
QMP: Introduce VNC_CONNECTED event
It's emitted when a VNC client connects to QEMU, client's informationsuch as port and IP address are provided.
Note that this event is emitted right when the connection isestablished. This means that it happens before authentication...
QMP: Introduce VNC_DISCONNECTED event
It's emitted when a VNC client disconnects from QEMU, client'sinformation such as port and IP address are provided.
{ "event": "VNC_DISCONNECTED", "timestamp": { "seconds": 1262976601, "microseconds": 975795 },...
QMP: Update spec file
- Remove "draft" status- Change default success response to be json-object- Change error and event data member to be a json-object- Update examples- Add new section "Compatibility Considerations" - Other fixes and clarifications...
QMP: Update README file
- Fix output description- Fix command-line usage notes- Minor improvements
QMP: add human-readable description to error response
Signed-off-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.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:...
QMP: Introduce vm-info
A Python script which uses qmp.py to print some simple VM info.
QMP: Introduce README file
QMP: Introduce specification
QMP: Introduce qmp-events.txt