aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-24 18:10:56 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-24 18:10:56 +0000
commit0f4c64157fb50cb86535d62779ca1b05f323f77a (patch)
tree5df47ff4fc748f27bbf59ae7fd9125d3c1f7b2f8 /monitor.c
parent90cb94935228cc064f99fe98e70a8ea5deefb689 (diff)
downloadqemu-0f4c64157fb50cb86535d62779ca1b05f323f77a.zip
qemu-0f4c64157fb50cb86535d62779ca1b05f323f77a.tar.gz
qemu-0f4c64157fb50cb86535d62779ca1b05f323f77a.tar.bz2
kqemu info
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1531 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 4e6f6fa..297c0a4 100644
--- a/monitor.c
+++ b/monitor.c
@@ -885,6 +885,20 @@ static void mem_info(void)
}
#endif
+static void do_info_kqemu(void)
+{
+#ifdef USE_KQEMU
+ int val;
+ val = 0;
+ if (cpu_single_env)
+ val = cpu_single_env->kqemu_enabled;
+ term_printf("kqemu is %s\n", val ? "enabled" : "disabled");
+#else
+ term_printf("kqemu support is not compiled\n");
+#endif
+}
+
+
static term_cmd_t term_cmds[] = {
{ "help|?", "s?", do_help,
"[cmd]", "show the help" },
@@ -959,6 +973,8 @@ static term_cmd_t info_cmds[] = {
#endif
{ "jit", "", do_info_jit,
"", "show dynamic compiler info", },
+ { "kqemu", "", do_info_kqemu,
+ "", "show kqemu information", },
{ NULL, NULL, },
};