Versions
FreeBSD: 13.1-RELEASE
Virtualbox: 7.0.2 r154219
Host: ArchLinux 6.0.5-arch1-1
Description
At the moment I try to use bhyve of FreeBSD within Virtualbox.
If I try to run following cmd I get the output: vm_create: Device not configured
Do you know what I have to do, that bhyve is working within a VM?
What I would expect
Working bhyve
Further informations
Host:
BIOS/UEFI: SVM is enabled
Virtualbox: Nested VT-x/AMD-V enabled
Guest:
dmesg: POPCNT processor feature flag on the Features2 line for AMD visible
FreeBSD: 13.1-RELEASE
Virtualbox: 7.0.2 r154219
Host: ArchLinux 6.0.5-arch1-1
Description
At the moment I try to use bhyve of FreeBSD within Virtualbox.
If I try to run following cmd I get the output: vm_create: Device not configured
Code:
sudo bhyve -AHP -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 -s3:0,virtio-blk,/dev/zvol/zroot/vms/alpinevm -s 4:0,ahci-cd,./alpine-virt-3.16.2-x86_64.iso -c 4 -m 1024M \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
-l com1,/dev/nmdm0A \
alpinevm
vm_create: Device not configured
Do you know what I have to do, that bhyve is working within a VM?
What I would expect
Working bhyve
Further informations
Host:
BIOS/UEFI: SVM is enabled
Virtualbox: Nested VT-x/AMD-V enabled
Guest:
dmesg: POPCNT processor feature flag on the Features2 line for AMD visible
Code:
sudo kldstat
Password:
Id Refs Address Size Name
1 32 0xffffffff80200000 1f30590 kernel
2 1 0xffffffff82131000 a158 cryptodev.ko
3 1 0xffffffff8213c000 57a950 vmm.ko
4 1 0xffffffff826b7000 3978 nmdm.ko
5 1 0xffffffff826bb000 5b93a0 zfs.ko
6 1 0xffffffff82c75000 e518 if_bridge.ko
7 2 0xffffffff82c84000 78c0 bridgestp.ko
8 1 0xffffffff82f18000 3218 intpm.ko
9 1 0xffffffff82f1c000 2180 smbus.ko
Code:
cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
virtio_blk_load="YES"
# Modules for our vms
vmm_load="YES"
nmdm_load="YES"
if_bridge_load="YES"
if_tap_load="YES"