Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2024 10:24:15 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Chuck Tuffli <chuck@freebsd.org>
Cc:        John Baldwin <jhb@freebsd.org>, freebsd-virtualization@freebsd.org
Subject:   Re: bhyve without UEFI questions
Message-ID:  <8db5b5fe-301b-4286-9d5d-4db7d1522a65@freebsd.org>
In-Reply-To: <CAKAYmM%2Bh3JRLbGz3X_uYroWxvscaSJ-3TFVAbRKe957%2B1JuyuA@mail.gmail.com>
References:  <CAKAYmM%2Bh3JRLbGz3X_uYroWxvscaSJ-3TFVAbRKe957%2B1JuyuA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Chuck,

> I'm getting conflicting information and thought I'd ask here about
> guest disk images without UEFI.
> 
> 1. If bhyve can boot the image with uefi-csm, should I be able to get
> a graphical console? I tried:
>     -s 6:0,fbuf,tcp=0.0.0.0:5900,vga=io
> VNC connects, but the screen is blank. I saw some mentions of vga=on,
> but that generates an error message.

  The BIOS emulation in the EFI CSM code only implements a small subset 
of VGA calls - it may be possible that the bootloader for your guest 
goes outside of that.

> 2. Instead of using uefi-csm, can bhyve boot SeaBIOS? I've tried -l
> bootrom,/tmp/seabios/out/bios.bin but I'm not sure that is working.

  I have heard of some work on SeaBIOS, but afaik those efforts never 
quite got it to work. It wants to see h/w that looks like what Qemu 
provides.

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8db5b5fe-301b-4286-9d5d-4db7d1522a65>