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
..
2020-03-06 17:15:38 +01:00
2020-09-01 09:10:58 +02:00
2016-03-22 22:20:16 +01:00
2016-02-04 17:01:04 +00:00
2020-07-06 17:01:11 +02:00
2020-07-06 17:01:11 +02:00
2020-12-15 12:51:48 -05:00
2020-10-05 16:41:22 +02:00
2016-02-04 17:01:04 +00:00