Bug 1014272

Summary: Foreign menu doesn't display right after connection, USB device has to be plugged/unplugged to make it show up
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: acathrow, cfergeau, dblechte, marcandre.lureau
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-04 12:13:13 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:
Embargoed:

Description David Jaša 2013-10-01 15:23:23 UTC
Description of problem:
Foreign menu doesn't display right after connection, USB device has to be plugged/unplugged to make it show up

Version-Release number of selected component (if applicable):
spice-gtk-0.20-7.el6.x86_64
virt-viewer-0.5.6-7.el6.x86_64
spice-xpi-2.7-24.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. make sure that you have:
  * 'kspiceusb' kernel module loaded
  * 'spiceusbsrvd' service up & running
2. connect to a guest with RHEV tools installed and USB in Legacy mode
3. plug/unplug some usb device

Actual results:
2. "USB Devices" foreign menu doesn't show up
3. "USB Devices" foreign menu is displayed

Expected results:
"USB Devices" menu is displayed right after connection (after usbrdrctrl connects to the pipe)

Additional info:

Comment 1 Marc-Andre Lureau 2013-10-01 16:36:45 UTC
foreign menu is not handled by spice-gtk, moving to virt-viewer

Comment 2 David Jaša 2013-10-04 12:13:13 UTC
The issue turned out to affect a particular Windows XP guest where legacy USB didn't actually work (every device got blocked). The behaviour with any other guest is OK.