qemu-devel
[Top][All Lists]
Advanced

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

Re: Bug: qemu-system-ppc -M mac99 boots into compat-monitor, not openbio


From: Paolo Bonzini
Subject: Re: Bug: qemu-system-ppc -M mac99 boots into compat-monitor, not openbios.
Date: Thu, 17 Dec 2020 10:44:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

On 16/12/20 22:16, Howard Spoelstra wrote:
Hi all,

It seems a qemu-system-ppc from current master no longer boots into openbios, but into to the compat monitor.
Command line to reproduce:
/home/hsp/src/qemu-master/build/qemu-system-ppc \
-L pc-bios \
-M mac99,via=pmu -m 1024 -boot c \
-drive file=/home/hsp/Mac-disks/9.2.img,format=raw,media=disk

Bisecting leads to this commit:

commit b4e1a342112e50e05b609e857f38c1f2b7aafdc4
Author: Paolo Bonzini <pbonzini@redhat.com <mailto:pbonzini@redhat.com>>
Date:   Tue Oct 27 08:44:23 2020 -0400

     vl: remove separate preconfig main_loop

    Move post-preconfig initialization to the x-exit-preconfig.  If preconfig
     is not requested, just exit preconfig mode immediately with the QMP
     command.

     As a result, the preconfig loop will run with accel_setup_post
     and os_setup_post restrictions (xen_restrict, chroot, etc.)
     already done.

    Reviewed-by: Igor Mammedov <imammedo@redhat.com <mailto:imammedo@redhat.com>>     Signed-off-by: Paolo Bonzini <pbonzini@redhat.com <mailto:pbonzini@redhat.com>>

  include/sysemu/runstate.h |  1 -
  monitor/qmp-cmds.c        |  9 -----
 softmmu/vl.c              | 95 ++++++++++++++++++++---------------------------
  3 files changed, 41 insertions(+), 64 deletions(-)

Thanks for looking into this,

Best,
Howard

Should be a one-line change, I have sent a patch.

Paolo




reply via email to

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