Revert "Rename swtpm socket". Close #192

This reverts commit c5efb7d79d.
pull/198/head
Martin Wimpress 3 years ago
parent 1a8e161e87
commit 8f832a843b
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 4
      quickemu

@ -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

Loading…
Cancel
Save