From cde76ee16adc33f29802596b3499e4fbfcabd8ff Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 5 Mar 2009 23:01:51 +0000 Subject: monitor: Introduce MONITOR_USE_READLINE flag (Jan Kiszka) This allows to create monitor terminals that do not make use of the interactive readline back-end but rather send complete commands. The pass-through monitor interface of the gdbstub will be an example. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6717 c046a42c-6fe2-441c-8c8c-71466251a162 --- monitor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 95a4060998..13e8cc7647 100644 --- a/monitor.h +++ b/monitor.h @@ -9,10 +9,11 @@ extern Monitor *cur_mon; /* flags for monitor_init */ #define MONITOR_IS_DEFAULT 0x01 +#define MONITOR_USE_READLINE 0x02 void monitor_init(CharDriverState *chr, int flags); -void monitor_suspend(Monitor *mon); +int monitor_suspend(Monitor *mon); void monitor_resume(Monitor *mon); void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, -- cgit v1.2.3