[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/55] vl: initialize displays _after_ exiting preconfiguration
From: |
Paolo Bonzini |
Subject: |
[PULL 12/55] vl: initialize displays _after_ exiting preconfiguration |
Date: |
Mon, 21 Dec 2020 15:44:04 +0100 |
Due to the renumbering of text consoles when graphical consoles are
created, init_displaystate must be called after all QemuConsoles are
created, i.e. after devices are created.
vl.c calls it from qemu_init_displays, while qmp_x_exit_preconfig is
where devices are created. If qemu_init_displays is called before it,
the VGA graphical console does not come up.
Reported-by: Howard Spoelstra <hsp.cat7@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
softmmu/vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 0ed5c5ba93..7ddf405d76 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3529,10 +3529,10 @@ void qemu_init(int argc, char **argv, char **envp)
exit(0);
}
- qemu_init_displays();
if (!preconfig_requested) {
qmp_x_exit_preconfig(&error_fatal);
}
+ qemu_init_displays();
accel_setup_post(current_machine);
os_setup_post();
resume_mux_open();
--
2.29.2
- [PULL 00/55] Misc patches for 2020-12-21, Paolo Bonzini, 2020/12/21
- [PULL 01/55] gitlab: include aarch64-softmmu and ppc64-softmmu cross-system-build, Paolo Bonzini, 2020/12/21
- [PULL 02/55] configure: move gettext detection to meson.build, Paolo Bonzini, 2020/12/21
- [PULL 04/55] python: add __repr__ to ConsoleSocket to aid debugging, Paolo Bonzini, 2020/12/21
- [PULL 03/55] configure: add --without-default-features, Paolo Bonzini, 2020/12/21
- [PULL 05/55] gitlab: move --without-default-devices build from Travis, Paolo Bonzini, 2020/12/21
- [PULL 10/55] tests: update for rename of CentOS8 PowerTools repo, Paolo Bonzini, 2020/12/21
- [PULL 06/55] gitlab: add --without-default-features build, Paolo Bonzini, 2020/12/21
- [PULL 08/55] gitlab-CI: Test 32-bit builds with the fedora-i386-cross container, Paolo Bonzini, 2020/12/21
- [PULL 12/55] vl: initialize displays _after_ exiting preconfiguration,
Paolo Bonzini <=
- [PULL 21/55] build-sys: fix -static linking of libvhost-user, Paolo Bonzini, 2020/12/21
- [PULL 24/55] trace: do not include TCG helper tracepoints in no-TCG builds, Paolo Bonzini, 2020/12/21
- [PULL 31/55] meson: cleanup Kconfig.host handling, Paolo Bonzini, 2020/12/21
- [PULL 38/55] curl: convert to meson, Paolo Bonzini, 2020/12/21
- [PULL 11/55] configure: document --without-default-{features, devices}, Paolo Bonzini, 2020/12/21
- [PULL 07/55] tests/tcg: build tests with -Werror, Paolo Bonzini, 2020/12/21
- [PULL 14/55] qom: Assert that objects being destroyed have no parent, Paolo Bonzini, 2020/12/21
- [PULL 16/55] configure,meson: add option to enable LTO, Paolo Bonzini, 2020/12/21
- [PULL 17/55] cfi: Initial support for cfi-icall in QEMU, Paolo Bonzini, 2020/12/21
- [PULL 33/55] configure: remove variable bogus_os, Paolo Bonzini, 2020/12/21