You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/chardev
Bin Meng 06639f8ff5 chardev/char-win-stdio: Pass Ctrl+C to guest with a multiplexed monitor
At present when pressing Ctrl+C from a guest running on QEMU Windows
with a multiplexed monitor, e.g.: -serial mon:stdio, QEMU executable
just exits. This behavior is inconsistent with the Linux version.

Such behavior is caused by unconditionally setting the input mode
ENABLE_PROCESSED_INPUT for a console's input buffer. Fix this by
testing whether the chardev is allowed to do so.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221025141015.612291-1-bin.meng@windriver.com>
2 years ago
..
baum.c chardev/baum: Avoid dynamic stack allocation 2 years ago
char-console.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
char-fd.c chardev: replace qemu_set_nonblock() 3 years ago
char-fe.c chardev: mark explicitly first argument as poisoned 3 years ago
char-file.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
char-io.c QIOChannel: Add flags on io_writev and introduce io_flush callback 3 years ago
char-mux.c chardev: don't exit() straight away on C-a x 3 years ago
char-null.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
char-parallel.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
char-pipe.c Remove qemu-common.h include from most units 3 years ago
char-pty.c chardev: replace qemu_set_nonblock() 3 years ago
char-ringbuf.c Use DECLARE_*CHECKER* macros 4 years ago
char-serial.c chardev: replace qemu_set_nonblock() 3 years ago
char-socket.c chardev/char-socket: Update AF_UNIX for Windows 2 years ago
char-stdio.c chardev: replace qemu_set_nonblock() 3 years ago
char-udp.c qapi: Convert simple union SocketAddressLegacy to flat one 3 years ago
char-win-stdio.c chardev/char-win-stdio: Pass Ctrl+C to guest with a multiplexed monitor 2 years ago
char-win.c chardev: Improve error report by calling error_setg_win32() 5 years ago
char.c chardev: src buffer const for write functions 2 years ago
chardev-internal.h Clean up decorations and whitespace around header guards 3 years ago
meson.build char: move qemu_openpty_raw from util/ to char/ 3 years ago
msmouse.c chardev: fix segfault in finalize 2 years ago
spice.c chardev-spice: add missing module_obj directive 3 years ago
testdev.c Use DECLARE_*CHECKER* macros 4 years ago
trace-events docs: fix references to docs/devel/tracing.rst 4 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
wctablet.c chardev: fix segfault in finalize 2 years ago