From a6c4d36425871fafc55ce3937bebd05e86f5ea81 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 28 Jun 2010 18:27:47 +0200 Subject: 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 Signed-off-by: Luiz Capitulino --- monitor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 9582b9c..38b22a4 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 { -- cgit v1.1