Description of problem: CapsLk is closed automatically during guest booting when view guest with spice plugin. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Turn on a CapsLk on host 2. Boot guest /usr/libexec/qemu-kvm -smp 2 -m 2G -drive file=/root/image/rhel5.4-64-virtio.raw,media=disk,if=virtio,boot=on,cache=off,index=0,serial=fb-bd91-8bcf10f72b98 -net nic,vlan=0,macaddr=00:55:40:01:00:37,model=virtio -net tap,vlan=0,script=/etc/qemu-ifup -uuid `uuidgen` -no-hpet -rtc-td-hack -startdate now -cpu qemu64,+sse2 -usbdevice tablet -monitor stdio -spice host=0,ic=on,port=5930,disable-ticketing -qxl 1 3. view guest with spice spicec ip port Actual results: CapsLk is closed automatically. Expected results: Additional info: