diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-06-28 18:27:47 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2010-07-01 14:27:14 -0300 |
commit | a6c4d36425871fafc55ce3937bebd05e86f5ea81 (patch) | |
tree | c2c94f52b8ca6ec8bd622434771ec87692ef8f6b /monitor.h | |
parent | e4940c603a209c82c2ea80cfeb244c5dec8e3118 (diff) |
monitor: Allow to exclude commands from QMP
Ported commands that are marked 'user_only' will not be considered for
QMP monitor sessions. This allows to implement new commands that do not
(yet) provide a sufficiently stable interface for QMP use.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ extern Monitor *default_mon; /* flags for monitor commands */ #define MONITOR_CMD_ASYNC 0x0001 +#define MONITOR_CMD_USER_ONLY 0x0002 /* QMP events */ typedef enum MonitorEvent { |