[PATCH 4/9] Revert "x86: Switch QEMU over to use the bochs driver"

Simon Glass sjg at chromium.org
Mon Jul 31 16:37:42 CEST 2023


Hi Bin,

On Mon, 31 Jul 2023 at 08:32, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Hi Simon,
>
> On Sat, Jul 29, 2023 at 1:32 AM Simon Glass <sjg at chromium.org> wrote:
> >
> > Hi Bin,
> >
> > On Fri, 28 Jul 2023 at 09:46, Bin Meng <bmeng.cn at gmail.com> wrote:
> > >
> > > Hi Simon,
> > >
> > > On Mon, Jul 24, 2023 at 10:52 PM Simon Glass <sjg at chromium.org> wrote:
> > > >
> > > > Unfortunately the bochs driver does not currently work with distros. It
> > > > causes a hang sometime between grub menu selection and the OS displaying
> > > > something.
> > >
> > > Does this reproduce reliably?
> >
> > Yes, it does.
> >
> > BTW I've also hit another problem with '-M accel-kvm' which hangs on
> > the move to 64-bit mode. Oddly if I boot U-Boot from coreboot, the
> > problem goes away. So perhaps coreboot is doing some x86 init which
> > U-Boot is missing.
>
> This indicates a kvm-x86 bug. I think you can simplify a test case and
> report it to the KVM mailing list.

Firstly it doesn't really matter, since it doesn't work, so we do need
to revert.

Secondly I am not sure it kvm's fault, since the problem does not
happen with coreboot. I will see if I can isolate what coreboot is
doing differently, but not sure that that fix will make the release.

Regards,
Simon


More information about the U-Boot mailing list