|
@@ -990,8 +990,8 @@ static void vc_chr_open(Chardev *chr,
|
|
trace_console_txt_new(width, height);
|
|
trace_console_txt_new(width, height);
|
|
if (width == 0 || height == 0) {
|
|
if (width == 0 || height == 0) {
|
|
s = QEMU_TEXT_CONSOLE(object_new(TYPE_QEMU_TEXT_CONSOLE));
|
|
s = QEMU_TEXT_CONSOLE(object_new(TYPE_QEMU_TEXT_CONSOLE));
|
|
- width = qemu_console_get_width(NULL, 80 * FONT_WIDTH);
|
|
|
|
- height = qemu_console_get_height(NULL, 24 * FONT_HEIGHT);
|
|
|
|
|
|
+ width = 80 * FONT_WIDTH;
|
|
|
|
+ height = 24 * FONT_HEIGHT;
|
|
} else {
|
|
} else {
|
|
s = QEMU_TEXT_CONSOLE(object_new(TYPE_QEMU_FIXED_TEXT_CONSOLE));
|
|
s = QEMU_TEXT_CONSOLE(object_new(TYPE_QEMU_FIXED_TEXT_CONSOLE));
|
|
}
|
|
}
|