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

Bin Meng bmeng.cn at gmail.com
Mon Jul 31 16:32:16 CEST 2023


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.

>
> >
> > >
> > > This reverts commit b8956425d525c3c25fd218f252f89a5e44df6a9f.
> > >
> > > Signed-off-by: Simon Glass <sjg at chromium.org>
> > > ---
> > >
> > >  arch/x86/cpu/qemu/Kconfig     | 2 +-
> > >  configs/qemu-x86_64_defconfig | 4 ++++
> > >  configs/qemu-x86_defconfig    | 3 +++
> > >  3 files changed, 8 insertions(+), 1 deletion(-)

Regards,
Bin


More information about the U-Boot mailing list