aboutsummaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/console.c b/console.c
index b452bca102..6f0f1afade 100644
--- a/console.c
+++ b/console.c
@@ -1357,6 +1357,8 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds, const c
text_console_resize(s);
qemu_chr_reset(chr);
+ if (chr->init)
+ chr->init(chr);
}
CharDriverState *text_console_init(const char *p)