|
|
@ -903,9 +903,9 @@ function vm_boot() { |
|
|
|
${USB_PASSTHROUGH}) |
|
|
|
${USB_PASSTHROUGH}) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ "${tpm}" == "on" ] && [ -S "${VMDIR}/${VMNAME}-swtpm.sock" ]; then |
|
|
|
if [ "${tpm}" == "on" ] && [ -S "${VMDIR}/${VMNAME}.swtpm-sock" ]; then |
|
|
|
# shellcheck disable=SC2054 |
|
|
|
# shellcheck disable=SC2054 |
|
|
|
args+=(-chardev socket,id=chrtpm,path="${VMDIR}/${VMNAME}-swtpm.sock" |
|
|
|
args+=(-chardev socket,id=chrtpm,path="${VMDIR}/${VMNAME}.swtpm-sock" |
|
|
|
-tpmdev emulator,id=tpm0,chardev=chrtpm |
|
|
|
-tpmdev emulator,id=tpm0,chardev=chrtpm |
|
|
|
-device tpm-tis,tpmdev=tpm0) |
|
|
|
-device tpm-tis,tpmdev=tpm0) |
|
|
|
fi |
|
|
|
fi |
|
|
|