summaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-06-16 00:38:39 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2010-07-01 13:58:38 -0300
commit8ac470c1f945601de9f1f577791c48e95d5340db (patch)
treecafcc88b0938cec162e49dc16a555dd309cf6a2b /monitor.h
parent3b6dbf277232920a6463fc01d630e4d9dc378ef6 (diff)
downloadqemu-8ac470c1f945601de9f1f577791c48e95d5340db.tar.gz
qemu-8ac470c1f945601de9f1f577791c48e95d5340db.tar.bz2
qemu-8ac470c1f945601de9f1f577791c48e95d5340db.zip
monitor: Establish cmd flags and convert the async tag
As we want to add more flags to monitor commands, convert the only so far existing one accordingly. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index ea15469f25..9582b9cf1f 100644
--- a/monitor.h
+++ b/monitor.h
@@ -15,6 +15,9 @@ extern Monitor *default_mon;
#define MONITOR_USE_READLINE 0x02
#define MONITOR_USE_CONTROL 0x04
+/* flags for monitor commands */
+#define MONITOR_CMD_ASYNC 0x0001
+
/* QMP events */
typedef enum MonitorEvent {
QEVENT_SHUTDOWN,