aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-10-05 13:54:49 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-10-05 13:54:49 -0500
commit48f57044e6a826329ebcac5d5a76d776a14e5d43 (patch)
treecc99327c9a0d496ed0c400a31c919b517f9d09f4 /vl.c
parente0c8a796d522b80c21b005a19610829c4be2154f (diff)
parenta18b2ce2ed9dc747c2ebab5a220517624e4ff3df (diff)
Merge remote branch 'qmp/for-anthony' into staging
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index d352d18cfe..939ee87b66 100644
--- a/vl.c
+++ b/vl.c
@@ -1562,6 +1562,9 @@ static int mon_init_func(QemuOpts *opts, void *opaque)
exit(1);
}
+ if (qemu_opt_get_bool(opts, "pretty", 0))
+ flags |= MONITOR_USE_PRETTY;
+
if (qemu_opt_get_bool(opts, "default", 0))
flags |= MONITOR_IS_DEFAULT;