Add warning when quickemu does not support smartcard
Co-authored-by: Phil Clifford <philclifford@users.noreply.github.com>
This commit is contained in:
parent
6216adf6a8
commit
b3802a356e
2
quickemu
2
quickemu
|
@ -988,6 +988,8 @@ function vm_boot() {
|
||||||
if "${QEMU}" -chardev spicevmc,id=ccid,name= 2>&1 | grep -q smartcard; then
|
if "${QEMU}" -chardev spicevmc,id=ccid,name= 2>&1 | grep -q smartcard; then
|
||||||
args+=(-chardev spicevmc,id=ccid,name=smartcard
|
args+=(-chardev spicevmc,id=ccid,name=smartcard
|
||||||
-device ccid-card-passthru,chardev=ccid)
|
-device ccid-card-passthru,chardev=ccid)
|
||||||
|
else
|
||||||
|
echo "WARNING! ${QEMU} was not compiled with support for smartcard devices"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# setup usb-controller
|
# setup usb-controller
|
||||||
|
|
Loading…
Reference in New Issue