diff options
| author | Paolo Bonzini | 2020-10-21 22:08:53 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-11-03 19:17:27 +0100 |
| commit | e19c520fe6545230bf37c2458c6d97ed18cd0c4f (patch) | |
| tree | 30274fd2967940edfaf4625749575d798db7bbd3 /include | |
| parent | fuzz: fuzz offsets within pio/mmio regions (diff) | |
| download | qemu-e19c520fe6545230bf37c2458c6d97ed18cd0c4f.tar.gz qemu-e19c520fe6545230bf37c2458c6d97ed18cd0c4f.tar.xz qemu-e19c520fe6545230bf37c2458c6d97ed18cd0c4f.zip | |
semihosting: fix order of initialization functions
qemu_semihosting_console_init uses semihosting.chardev which is set
by qemu_semihosting_connect_chardevs. Thus qemu_semihosting_connect_chardevs
has to be called first.
Both have to be called after processing -serial and friends though, so
that the semihosting console can connect to a multiplexer as in
"-serial mon:stdio -semihosting-config chardev=serial0"
Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Fixes: 619985e937 ("semihosting: defer connect_chardevs a little more to use serialx", 2020-07-27)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
