qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Howard Spoelstra <hsp.cat7@gmail.com>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Subject: Re: Bug: qemu-system-ppc -M mac99 boots into compat-monitor, not openbios.
Date: Thu, 17 Dec 2020 10:44:12 +0100	[thread overview]
Message-ID: <353a6f24-3027-d80d-bed3-82560a8afab5@redhat.com> (raw)
In-Reply-To: <CABLmASExSbekU=r2LajHDVxWXEY-vxBnT+_BnjdAm6Y9Nw8y1g@mail.gmail.com>

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	other threads:[~2020-12-17 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 21:16 Bug: qemu-system-ppc -M mac99 boots into compat-monitor, not openbios Howard Spoelstra
2020-12-17  9:44 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=353a6f24-3027-d80d-bed3-82560a8afab5@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=hsp.cat7@gmail.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).