Justin Piszcz wrote:
Hello,

By utilizing a local smart card reader and regular Windows XP/etc one can utilize the smart card remotely.

If I take a smart card reader (USB) and attach it to Linux assuming the drivers recognized it OK is there anyway to make or have this device pass-through to the KVM (Windows) on Linux?

I did not see any kvm smart card options in qemu-system-x86_64 -h output.

The -usbdevice option can pass-through host devices identified by bus address or vendor:product ID without the need for device class specific options.

To attach the device at usb bus address 5.3 (bus 5, device 3):

# qemu-system-x86_64 <other options> -usb -usbdevice host:5.3


To add the device with vendor ID 0c5b and product ID 4201:

# qemu-system-x86_64 <other options> -usb -usbdevice host:0c5b:4201

You need to have usbdevfs mounted at /proc/bus/usb for it to work. You can attach devices on the qemu command line and attach or detach devices via the qemu console while the VM is running (help usb_add; help usb_del).

---
David.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to