Bug 1401372

Summary: Spice keyboards not working
Product: [Fedora] Fedora Reporter: Richard Chan <rc556677>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, pbonzini, rjones, victortoso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-05 06:28:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Richard Chan 2016-12-05 03:43:42 UTC
Description of problem:
If Display is Spice, PS/2 keyboard and USB keyboard are not working in virt-manager


Version-Release number of selected component (if applicable):
qemu-kvm-2.7.0-7.fc25.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create VM in virt-manager based on RHEL 7 or Fedora 24 suggestions
2. 
3.

Actual results:
No keyboard input in viewer (both virt-manager / virt-viewer)

Expected results:
Keyboard input


Additional info:
1. VNC display works
2. Using Wayland, intel graphics, QXL

Comment 1 Richard Chan 2016-12-05 03:46:54 UTC
1. VM is fully functional
2. virsh console works

Comment 2 Richard Chan 2016-12-05 06:26:31 UTC
A bit odd, keyboard recovered after removing Display configuration and adding it back.

1. Removed all Display/Spice configuration leaving a Serial only VM
2. Restore Display/Spice/VGA

Result: keyboard working again.

Comment 3 Victor Toso 2016-12-05 07:28:06 UTC
It would be awesome if you could paste the difference in the libvirt configuration. This is the second time I see this issue (first one on IRC) so this might be a regression somewhere.

Comment 4 Cole Robinson 2016-12-05 14:04:45 UTC
If you attach  ~/.cache/virt-manager/virt-manager.log we can probably find what changed