I manage to setup Windows11 with GPU/PCI passthrough with bhyve-vm. The windows-install had some issues but after several tries to "fix it" it finally worked. I still have issues with vCPU. My host has a Intel CPU with 1,5Ghz (hw.clockrate: 1497)
but it can do dynamically scale with powerd etc. up to 2,8 GHz which it does all the time...
My Guest (Windows11) only gets/sees the 1,5 GHz, which is - albeit of 8 vCPU-Cores - a little less.
Any Ideas where to look or how to provide more clock speed to the guest?
thanks.. mirac
here ist my current vm config:
but it can do dynamically scale with powerd etc. up to 2,8 GHz which it does all the time...
My Guest (Windows11) only gets/sees the 1,5 GHz, which is - albeit of 8 vCPU-Cores - a little less.
Any Ideas where to look or how to provide more clock speed to the guest?
thanks.. mirac
here ist my current vm config:
Code:
loader="uefi"
graphics="yes"
bhyve_options="-A"
xhci_mouse="yes"
cpu=8
memory=16G
#passthru Intel Graphics
passthru0="0/2/0=2:0"
# put up to 8 disks on a single ahci controller.
# without this, adding a disk pushes the following network devices onto higher slot numbers,
# which causes windows to see them as a new interface
ahci_device_limit="8"
# ideally this should be changed to virtio-net and drivers installed in the guest
# e1000 works out-of-the-box
#network0_type="e1000"
network0_type="virtio-net"
network0_switch="public"
#disk0_type="nvme"
disk0_type="virtio-blk"
disk0_name="disk0.img"
disk1_type="ahci-cd"
disk1_name="virtio-win.iso"
# windows expects the host to expose localtime by default, not UTC
utctime="no"
uuid="48fc64eb-9128-11ef-98a4-4c38d51f1543"
network0_mac="58:9c:fc:03:9d:b9"
vnc_port="5900"
vnc_password="deadbeef"