summary refs log tree commit diff stats
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-12-17 10:10:12 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-02 21:03:09 +0100
commitfacf7c60ee60aab7d73b204ee8c86b90fbc6b3db (patch)
tree1732f4af7a38c86f033533d8704efca0839d1fd6 /include/qemu/compiler.h
parentc035c8d6f54ce10a350e0b6cee558075d1f42f9c (diff)
downloadfocaccia-qemu-facf7c60ee60aab7d73b204ee8c86b90fbc6b3db.tar.gz
focaccia-qemu-facf7c60ee60aab7d73b204ee8c86b90fbc6b3db.zip
vl: initialize displays _after_ exiting preconfiguration
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>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions