Re: bhyve + swtpm + W11
- Reply: infoomatic : "Re: bhyve + swtpm + W11"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Nov 2025 10:17:24 UTC
Many thanks! It also works in already installed windows 11. I made a small change to the script so that I can run it in a common location for multiple VMs: #!/bin/sh VMNAME="$1" SOCKET="/tmp/.bhyve.tpm.$VMNAME.sock" if [ ! -S "$SOCKET" ]; then nohup swtpm socket --tpmstate backend-uri=file:///vm/$VMNAME/tpm.state --server type=unixio,path="$SOCKET" --tpm2 --flags not-need-init & fi I think it works on Server 2022 and 2025 too, I'll do some testing There's another major problem with Windows 11 and Server 2022/25: excessive host CPU usage. Has anyone found a solution? Marco