aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 709d8cda8d..d8c1572f74 100644
--- a/vl.c
+++ b/vl.c
@@ -2454,6 +2454,8 @@ static int mon_init_func(QemuOpts *opts, void *opaque)
flags = MONITOR_USE_READLINE;
} else if (strcmp(mode, "control") == 0) {
flags = MONITOR_USE_CONTROL;
+ } else if (strcmp(mode, "android-console") == 0) {
+ flags = MONITOR_ANDROID_CONSOLE | MONITOR_USE_READLINE;
} else {
fprintf(stderr, "unknown monitor mode \"%s\"\n", mode);
exit(1);