diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-02-04 18:10:06 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-10 12:46:05 -0600 |
commit | 09069b19f49311c772e220b44edb19fdd446ba5f (patch) | |
tree | d9625809ae19ffb958bbdf7575cd66e2ba1db535 /QMP | |
parent | 4a7e1190dfadf1154721125af8510347f8a3c56b (diff) |
QMP: Enforce capability negotiation rules
With this commit QMP will be started in Capabilities Negotiation
mode, where the only command allowed to run is 'qmp_capabilities'.
All other commands will return CommandNotFound error. Asynchronous
messages are not delivered either.
When 'qmp_capabilities' is successfully executed QMP enters in
Command mode, where all commands (except 'qmp_capabilities') are
allowed to run and asynchronous messages are delivered.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'QMP')
0 files changed, 0 insertions, 0 deletions