Bhyve OpenBSD 7.6 not working any more

From: Pierre Dupond <76nemo76_at_gmx.ch>
Date: Wed, 16 Oct 2024 09:44:17 UTC
Hi All,
     I plan to use OpenBSD 7.6 guest with bhyve on a FreeBSD 14.1 host. With
the release candidate of OPenBSD 7.6 I was able to pass two network cards
with PCI passthru to the OpenBSD virtual machine.

With the production version of OpenBSD 7.6 the PCI passthru does not work any more. Even
worse if I try to install OpenBSD without network card I get the message
produced after this mail.

The problems arise (with the PCI passthru and without network card) immediately
after the message "entry point at...".

The command used to start bhyve is:
/usr/sbin/bhyve -HPSD -u -s 0:0,amd_hostbridge -s 31,lpc -l com1,stdio  -s 4,nvme,/VM/OpenBSD/obsd.img -c 4 -m 4096M -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -s 5:0,ahci-cd,/VM/OpenBSD/install76.iso Router

Any ideas?

Thanks for help.

Best regards,

--------------------------------------------------------------Error message-------------------------------------


probing: pc0 com0 com1 mem[640K 3046M 1M 16M 20K 3M 1024M]
disk: cd0 hd0*
>> OpenBSD/amd64 BOOTX64 3.67
boot>
cannot open cd0a:/etc/random.seed: No such file or directory
booting cd0a:/7.6/amd64/bsd.rd: 4101039+1721344+3887112+0+704512 [109+465408+318888]=0xab0b98
entry point at 0x1001000
root@virt2:/VM/OpenBSD # sh: turning off NDELAY mode
root@virt2:/VM/OpenBSD #