[Bug 258007] FreeBSD and Linux guest os emulated with bhyve can't pass thru any of my NVIDIA graphic cards : the vm freezes before to starting the boot of the disk.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 Aug 2021 21:45:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258007

--- Comment #9 from mario felicioni <marietto2008@gmail.com> ---
this :

/boot/loader.conf

pptdevs="1/0/0 1/0/1 1/0/2 1/0/3"

bhyve -S -c 4 -m 11G -w -H \
-s 0,hostbridge \
-s 1,virtio-blk,/mnt/da1p1/vms/os/ubuntu-budgie-gpu/ubuntu-2104-gpu.img \
-s 2:0,passthru,1/0/0 \
-s 2:1,passthru,1/0/1 \
-s 2:2,passthru,1/0/2 \
-s 2:3,passthru,1/0/3 \
-s 6,virtio-net,tap0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1440,h=900 \
-s 30,xhci,tablet \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
vm0

produced this :

root@marietto:/home/marietto/Desktop/Files/bhyve # ./os-uefi-hirsute.sh

VM:vm0 is not created.
fbuf frame buffer base: 0xb04600000 [sz 16777216]
vm exit[0]
        reason          VMX
        rip             0x000000000000fff0
        inst_length     3
        status          0
        exit_reason     48 (EPT violation)
        qualification   0x0000000000000784
        inst_type               0
        inst_error              0
Segnale di annullamento

-- 
You are receiving this mail because:
You are the assignee for the bug.