qemu-e2k/chardev
Markus Armbruster d0bad43c4c char: Slightly better error reporting when chardev is in use
Both

    $ qemu-system-x86_64 -chardev null,id=chr0,mux=on -mon chardev=chr0 -mon chardev=chr0 -mon chardev=chr0 -mon chardev=chr0 -mon chardev=chr0

and

    $ qemu-system-x86_64 -chardev null,id=chr0 -mon chardev=chr0 -mon chardev=chr0
fail with

    qemu-system-x86_64: -mon chardev=chr0: Device 'chr0' is in use

Improve to

    qemu-system-x86_64: -mon chardev=chr0: too many uses of multiplexed chardev 'chr0' (maximum is 4)

and

    qemu-system-x86_64: -mon chardev=chr0: chardev 'chr0' is already in use

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-03-09 18:56:37 +03:00
..
baum.c
char-console.c
char-fd.c
char-fe.c char: Slightly better error reporting when chardev is in use 2024-03-09 18:56:37 +03:00
char-file.c
char-hmp-cmds.c
char-io.c
char-mux.c
char-null.c
char-parallel.c
char-pipe.c
char-pty.c
char-ringbuf.c
char-serial.c
char-socket.c
char-stdio.c
char-udp.c
char-win-stdio.c
char-win.c
char.c
chardev-internal.h
meson.build
msmouse.c
spice.c
testdev.c
trace-events
trace.h
wctablet.c