mirror of https://github.com/xemu-project/xemu.git
kqemu info
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1531 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
90cb949352
commit
0f4c64157f
16
monitor.c
16
monitor.c
|
@ -885,6 +885,20 @@ static void mem_info(void)
|
||||||
}
|
}
|
||||||
#endif
|
#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[] = {
|
static term_cmd_t term_cmds[] = {
|
||||||
{ "help|?", "s?", do_help,
|
{ "help|?", "s?", do_help,
|
||||||
"[cmd]", "show the help" },
|
"[cmd]", "show the help" },
|
||||||
|
@ -959,6 +973,8 @@ static term_cmd_t info_cmds[] = {
|
||||||
#endif
|
#endif
|
||||||
{ "jit", "", do_info_jit,
|
{ "jit", "", do_info_jit,
|
||||||
"", "show dynamic compiler info", },
|
"", "show dynamic compiler info", },
|
||||||
|
{ "kqemu", "", do_info_kqemu,
|
||||||
|
"", "show kqemu information", },
|
||||||
{ NULL, NULL, },
|
{ NULL, NULL, },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue