I found the offending commit: OvmfPkg: rework TPM configuration https://github.com/tianocore/edk2/commit/4de8d61bcec02a13ceed84f92b0cf3ea58adf9c5 With this commit applied windows 11 reports error code 10 with emulated qemu/libvirt tpm 2.0