mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
char: Fix initial reset (Jan Kiszka)
Recent changes to the graphical console initialization broke the initial CHR_EVENT_RESET distribution. The reset BHs generated on char device initialization are now already consumed during machine init (ide init ... -> qemu_aio_wait -> qemu_bh_poll). Therefore, this patch moves the initial qemu_chr_reset calls into a separate funtion which is called after machine init. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6700 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
b36d24b6c3
commit
2970a6c943
3 changed files with 18 additions and 4 deletions
1
vl.c
1
vl.c
|
@ -5693,6 +5693,7 @@ int main(int argc, char **argv, char **envp)
|
|||
}
|
||||
|
||||
text_consoles_set_display(display_state);
|
||||
qemu_chr_initial_reset();
|
||||
|
||||
if (monitor_device && monitor_hd)
|
||||
monitor_init(monitor_hd, !nographic);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue