From 1d0fa90a3c1d6947d1c14fb2a8538a2b4d19f5e7 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Mon, 6 May 2024 21:50:03 +0300 Subject: [PATCH] xen-console-srv: do not send esc exit char to guest No need to send ESCAPE_CHARACTER Ctrl-'[' to guest domain, just return from console_shell_cb(). Signed-off-by: Grygorii Strashko Reviewed-by: Volodymyr Babchuk --- xen-console-srv/src/xen_console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen-console-srv/src/xen_console.c b/xen-console-srv/src/xen_console.c index dcf47958..a6723060 100644 --- a/xen-console-srv/src/xen_console.c +++ b/xen-console-srv/src/xen_console.c @@ -451,6 +451,7 @@ static void console_shell_cb(const struct shell *shell, atomic_set_bit(&console->stop_thrd, INT_THREAD_STOP_BIT); k_sem_give(&console->int_sem); shell_set_bypass(shell, NULL); + return; } write_to_ext_ring(console->intf, data, len);