Re: anyone able to bhyve openbsd 7.0 ?

From: Dustin Marquess <dmarquess_at_gmail.com>
Date: Sat, 13 Nov 2021 02:26:05 UTC
On Fri, Nov 12, 2021 at 8:19 PM tech-lists <tech-lists@zyxst.net> wrote:
>
> Hi,
>
> On Fri, Nov 12, 2021 at 07:25:12PM -0600, Dustin Marquess wrote:
> >
> >set com tty0
> >
> >At the boot prompt manually. After install, however, I don't seem to have to.
>
> I don't seem to be able to get to the boot prompt.
>
> Following the instructions on https://wiki.freebsd.org/bhyve/OpenBSD like so:
>
> % sudo bhyve -c 2 -m 4G -w -u -H \
> -s 0,amd_hostbridge \
> -s 3,ahci-hd,/usr/home/REDACTED/isos/OpenBSD/amd64/install70.img \
> -s 4,virtio-blk,./obsd70.img \
> -s 5,virtio-net,tap0 \
> -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,vga=off,wait \
> -s 30,xhci,tablet \
> -s 31,lpc -l com1,stdio \
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
> openbsd70
>
> [console output]
> fbuf frame buffer base: 0x943800000 [sz 16777216]
>
> [in another terminal, do vncviewer 127.0.0.1:5900]
>
> BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK
> BHYVE-A09F-F442-FB09" from
> PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0): Not Found
> BdsDxe: failed to load Boot0002 "UEFI Misc Device" from
> PciRoot(0x0)/Pci(0x4,0x0): Not Found
>
> >>Start PXE over IPv4.
>    PXE-E16: No valid offer received.
>    BdsDxe: failed to load Boot0003 "UEFI PXEv4 (MAC:00A098D26B6B)" from
>    PciRoot(0x0)/Pci(0x5,0x0)/MAC(00A098D26B6B,0x1)/IPv4
>    (0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found
>
>    >>Start HTTP Boot over IPv4.....
>      Error: Could not retrieve NBP file size from HTTP server.

I'm not using VNC at all:

bhyve -A -D -H -P -w -S -u -c 2 -m 1G \
-s 0,amd_hostbridge \
-s 3,virtio-blk,/dev/zvol/tank/vm/vpn \
-s 10,virtio-net,tap0,mac=1e:17:37:23:2f:cb \
-s 20,virtio-rnd \
-s 31,lpc \
-l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
vpn

-Dustin