spiceqa/virt-test — pull request #19 by vehrlich (2013-03-08 16:54:31+00:00)
Title: Usb redirection 

Ok, here is a USB redirection. Easy as life. Creates USB device (file), starts qemu kvm with USB emulation (qemu_vm.py). From client Vm starts remote-viewer with usb-auto-redirection. On guest creates file, checks md5sum, copy to USB, checks md5sum. Closes remote-viewer (makes USB accessible on client), checks md5sum of file on USB, copy file to tmp and checks md5sum.
If all md5sum values are equal, returns True.

Known problem #1: with root user was life more easier. With new user test is problem to auto redirect USB (and there is no time before my leave)
Known problem #2: I've tried to simplify install configuration. But works only with RHEL 6.4 devel.
Known problem #3: Before changes with user, configuration, etc, was USB plugged into client when remote-viewer was closed. Now is connected only after umount or shutdown guest vm.
Maybe problem #1: I confess - I was lost in configuration so maybe I left there old parts of configuration.