Rename swtpm socket
This commit is contained in:
parent
6e851ff1c8
commit
c5efb7d79d
4
quickemu
4
quickemu
@ -901,9 +901,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…
Reference in New Issue
Block a user