qemu: add support for TPM CRB device
This is the only TPM 2.0 device recognized by Windows 11.
This commit is contained in:
parent
6756157c4b
commit
7779aa3693
|
@ -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
Loading…
Reference in New Issue