qemu: add support for TPM CRB device

This is the only TPM 2.0 device recognized by Windows 11.
This commit is contained in:
osy 2023-07-12 23:16:33 -07:00
parent 6756157c4b
commit 7779aa3693
2 changed files with 2443 additions and 2 deletions

View File

@ -936,11 +936,11 @@ import Virtualization // for getting network interfaces
f()
f("-device")
if system.target.rawValue.hasPrefix("virt") {
"tpm-tis-device"
"tpm-crb-device"
} else if system.architecture == .ppc64 {
"tpm-spapr"
} else {
"tpm-tis"
"tpm-crb"
}
"tpmdev=tpm0"
f()

File diff suppressed because it is too large Load Diff