[Bug 260148] passthru stopped working
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 260148] passthru stopped working"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 09:49:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260148
mario felicioni <marietto2008@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marietto2008@gmail.com
--- Comment #13 from mario felicioni <marietto2008@gmail.com> ---
I've just upgraded my Windows 11 VM and it does not boot anymore. I see an
interesting error,never seen before :
root@marietto:/home/marietto/bhyve # ./win11-phy-nvd0-vm4.sh
vm_open: vm4 could not be opened: No such file or directory
vm_open: vm4 could not be opened: No such file or directory
da5
nvd0
da2
da4
ada2
[1] 8326
bhyve: Failed to map MSI-X table BAR on 1/0/0: Device busy
bhyve: failed to initialize BARs for PCI 1/0/0
device emulation initialization error: Device busy
these are the bhyve parameters that I've used :
bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/dev/nvd0,bootindex=1 \
-s 5,passthru,1/0/0 \
-s 6,passthru,5/0/0 \
-s 7,virtio-net,tap4 \
-s 10,hda,play=/dev/dsp,rec=/dev/dsp \
-s 29,fbuf,tcp=0.0.0.0:5904,w=1440,h=900 \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
vm4 < /dev/null & sleep 2 && vncviewer 0:4
before to launch the windows 11 vm,I've ran this script :
setxkbmap it
bhyvectl --vm=vm0 --force-reset
bhyvectl --vm=vm0 --destroy
bhyvectl --vm=vm1 --force-reset
bhyvectl --vm=vm1 --destroy
bhyvectl --vm=vm2 --force-reset
bhyvectl --vm=vm2 --destroy
bhyvectl --vm=vm3 --force-reset
bhyvectl --vm=vm3 --destroy
bhyvectl --vm=vm4 --force-reset
bhyvectl --vm=vm4 --destroy
bhyvectl --vm=vm5 --force-reset
bhyvectl --vm=vm5 --destroy
bhyvectl --vm=vm6 --force-reset
bhyvectl --vm=vm6 --destroy
bhyvectl --vm=vm7 --force-reset
bhyvectl --vm=vm7 --destroy
bhyvectl --vm=vm8 --force-reset
bhyvectl --vm=vm8 --destroy
bhyvectl --vm=vm9 --force-reset
bhyvectl --vm=vm9 --destroy
bhyvectl --vm=vm10 --force-reset
bhyvectl --vm=vm10 --destroy
bhyvectl --vm=vm11 --force-reset
bhyvectl --vm=vm11 --destroy
bhyvectl --vm=vm12 --force-reset
bhyvectl --vm=vm12 --destroy
bhyvectl --vm=vm13 --force-reset
bhyvectl --vm=vm13 --destroy
bhyvectl --vm=vm14 --force-reset
bhyvectl --vm=vm14 --destroy
bhyvectl --vm=vm15 --force-reset
bhyvectl --vm=vm15 --destroy
bhyvectl --vm=vm16 --force-reset
bhyvectl --vm=vm16 --destroy
bhyvectl --vm=vm17 --force-reset
bhyvectl --vm=vm17 --destroy
bhyvectl --vm=vm18 --force-reset
bhyvectl --vm=vm18 --destroy
bhyvectl --vm=vm19 --force-reset
bhyvectl --vm=vm19 --destroy
bhyvectl --vm=vm20 --force-reset
bhyvectl --vm=vm20 --destroy
I have no disks attached to the 1/0/0...
--
You are receiving this mail because:
You are the assignee for the bug.