Skip to content

Commit

Permalink
xen-console-srv: do not send esc exit char to guest
Browse files Browse the repository at this point in the history
No need to send ESCAPE_CHARACTER Ctrl-'[' to guest domain, just return from
console_shell_cb().

Signed-off-by: Grygorii Strashko <[email protected]>
Reviewed-by: Volodymyr Babchuk <[email protected]>
  • Loading branch information
Grygorii Strashko authored and firscity committed May 9, 2024
1 parent e3305df commit 1d0fa90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xen-console-srv/src/xen_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d0fa90

Please sign in to comment.