aboutsummaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-06-28 18:27:47 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2010-07-01 14:27:14 -0300
commita6c4d36425871fafc55ce3937bebd05e86f5ea81 (patch)
treec2c94f52b8ca6ec8bd622434771ec87692ef8f6b /monitor.h
parente4940c603a209c82c2ea80cfeb244c5dec8e3118 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index 9582b9cf1f..38b22a4b28 100644
--- a/monitor.h
+++ b/monitor.h
@@ -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 {