vl: initialize displays before preconfig loop
commit7691bdef693c04e2a0c40846cda089c28016e043
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Oct 2020 08:07:30 +0000 (27 04:07 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:14 +0000 (10 12:15 -0500)
tree477572ddf7a79bd6808c98c94588a5a289ef7dad
parentb24986e7845594f4ce394403d2b5c15e89ce04f8
vl: initialize displays before preconfig loop

Displays should be available before the monitor starts, so that
it is possible to use the graphical console to interact with
the monitor itself.

This patch is quite ugly, but all this is temporary.  The double
call to qemu_init_displays will go away as soon we can unify machine
initialization between the preconfig and "normal" flows, and so will
the preconfig_exit_requested variable (that is only preconfig_requested
remains).

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/vl.c