qemu/include/chardev
Paolo Bonzini 5a1ee6077b chardev: do not use machine_init_done
machine_init_done is not the right flag to check when preconfig
is taken into account; for example "./qemu-system-x86_64 -serial
mon:stdio -preconfig" does not print the QEMU monitor header until after
exit_preconfig.  Add back a custom bool for mux character devices.  This
partially undoes commit c7278b4355 ("chardev: introduce chr_machine_done
hook", 2018-03-12), but it keeps the cleaner logic using a function
pointer in ChardevClass.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-15 12:51:51 -05:00
..
char-fd.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
char-fe.h chardev: Use QEMUChrEvent enum in IOEventHandler typedef 2020-01-08 11:15:35 +01:00
char-io.h Include qemu/main-loop.h less 2019-08-16 13:31:52 +02: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-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 chardev: do not use machine_init_done 2020-12-15 12:51:51 -05:00
spice.h chardev/spice: simplify chardev setup 2020-10-15 11:14:40 +02:00