From b3802a356eecfd7f917002d1f04cd981ac7b605e Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Mon, 8 Jan 2024 15:13:51 -0800 Subject: [PATCH] Add warning when quickemu does not support smartcard Co-authored-by: Phil Clifford --- quickemu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickemu b/quickemu index 577d65d..1ee87d3 100755 --- a/quickemu +++ b/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