From e92bc56ef89ab8b51c4c89d4d9779b64e9491b9b Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Tue, 7 Sep 2010 06:21:25 -0700 Subject: Add new "qemu monitor" command to the console. This allows you to access the QEMU virtual machine monitor directly from the console (instead of playing with the command-line to do it). The implementation of the 'quit' command has been modified to simply close the connection, instead of stopping the emulator program. This patch introduces changes that allow a console session to be detached and redirected at runtime to other internal services of the emulator program. This will be useful in the future to implement other features. + doc typo + add proper definitions for CONFIG_ANDROID on config-host.h + remove obsolete sysdeps.h dependency in android/console.c Change-Id: If16cfe41c12a26eb8f56e3a9c24452eafa5efab4 --- monitor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 13e8cc7..5a4eef8 100644 --- a/monitor.h +++ b/monitor.h @@ -8,8 +8,9 @@ extern Monitor *cur_mon; /* flags for monitor_init */ -#define MONITOR_IS_DEFAULT 0x01 -#define MONITOR_USE_READLINE 0x02 +#define MONITOR_IS_DEFAULT 0x01 +#define MONITOR_USE_READLINE 0x02 +#define MONITOR_QUIT_DOESNT_EXIT 0x04 /* prevent 'quit' from exiting the emulator */ void monitor_init(CharDriverState *chr, int flags); -- cgit v1.1