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
|
||||
args+=(-chardev spicevmc,id=ccid,name=smartcard
|
||||
-device ccid-card-passthru,chardev=ccid)
|
||||
else
|
||||
echo "WARNING! ${QEMU} was not compiled with support for smartcard devices"
|
||||
fi
|
||||
|
||||
# setup usb-controller
|
||||
|
|
Loading…
Reference in New Issue