qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 02/45] vl: remove separate preconfig main_loop


From: Paolo Bonzini
Subject: Re: [PULL 02/45] vl: remove separate preconfig main_loop
Date: Sun, 20 Dec 2020 09:52:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

On 19/12/20 22:30, Laurent Vivier wrote:
Then:

diff --git a/softmmu/vl.c b/softmmu/vl.c
index 0ed5c5ba9348..2f198e0023e0 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -2525,6 +2525,7 @@ void qmp_x_exit_preconfig(Error **errp)

      qemu_init_board();
      qemu_create_cli_devices();
+    qemu_init_displays();
      qemu_machine_creation_done();

      if (loadvm) {
@@ -3529,7 +3530,6 @@ void qemu_init(int argc, char **argv, char **envp)
          exit(0);
      }

-    qemu_init_displays();
      if (!preconfig_requested) {
          qmp_x_exit_preconfig(&error_fatal);
      }

and then re-try:

qemu-system-x86_64 -device virtio-gpu-pci

-> we have the BIOS boot screen.

Any idea?

Yes, I have sent a patch already but not a pull request. I was waiting for Alex's own PR to be applied, but it had some issues.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]