qemu/include/chardev
Marc-André Lureau 0b1f036753 ui/console: default vc encoding to cp437 for machine < 11.1
Add a QOM "encoding" enum property to some chardev-vc backends
(console-vc & dbus - gtk and spice don't make use of it) so that the
machine compat mechanism can override the default. For machine versions
prior to 11.1, the charset defaults to cp437 (raw 8-bit VGA) instead of
utf8, preserving the historical behaviour.

The following commits are going to wire this to VT100 emulation code and
an extra exported D-Bus property.

Note that GTK libvte uses utf8 unconditionally, and Spice doesn't have a
way to set the encoding, and typically just use libvte in client too.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2026-05-09 10:24:33 +04:00
..
char-fd.h chardev: qemu_chr_open_fd(): add errp 2025-09-19 12:46:07 +01:00
char-fe.h char: rename CharBackend->CharFrontend 2025-10-28 14:49:52 +01:00
char-io.h monitor/qmp: cleanup SocketChardev listener sources early to avoid fd handling race 2026-01-07 17:05:25 +01:00
char-parallel.h char: fix alias devices regression 2017-06-08 17:57:36 +04:00
char-serial.h char: fix alias devices regression 2017-06-08 17:57:36 +04:00
char-socket.h chardev: introduce 'reconnect-ms' and deprecate 'reconnect' 2024-10-09 12:07:54 +04:00
char-win-stdio.h chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
char-win.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
char.h ui/console: default vc encoding to cp437 for machine < 11.1 2026-05-09 10:24:33 +04:00
spice.h chardev/spice: simplify chardev setup 2020-10-15 11:14:40 +02:00