[Spice-devel] smartcard usage

kc at cobradevil.org kc at cobradevil.org
Thu Feb 24 01:17:21 PST 2011


Dear list,

i have tried to get smartcard support running but i'm a bit lost :)
probably because it's not finished yet.

we have smartcards with certificates like us dod and i would like to use
those from a client on a remote server for authentication and such.
I have followed the build instructions:
http://spice-space.org/page/Building_Instructions on a ubuntu system and
have managed to get those compiled.

But when i try to start a vm with smartcard passthrough it asks me to give
a driver name?

./x86_64-softmmu/qemu-system-x86_64 -chardev
socket,server,host=0.0.0.0,port=2001,id=ccid,nowait -device
ccid-card-passthru,chardev=ccid -drive
file=/var/lib/libvirt/images/test.img,if=ide -soundhw ac97 -L pc-bios
-nographic -vga qxl -spice port=5930,disable-ticketing  -usbdevice tablet
-enable-kvm -m 512

do_spice_init: starting 0.6.3
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
spice_server_add_interface: SPICE_INTERFACE_RECORD
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
qemu-system-x86_64: -device ccid-card-passthru,chardev=ccid: Parameter
'driver' expects a driver name
Try with argument '?' for a list.

Am i starting the vm the right way or am i missing something?

With kind regards

William






More information about the Spice-devel mailing list