Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 636020

Summary: PATCH: virtio_console: Fix poll blocking even though there is data to read
Product: Red Hat Enterprise Linux 5 Reporter: Amit Shah <amit.shah>
Component: kernelAssignee: Amit Shah <amit.shah>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 5.6CC: amit.shah, hdegoede, llim, mjenner, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 634232 Environment:
Last Closed: 2011-01-13 21:20:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 634232    
Bug Blocks: 580954    

Comment 1 RHEL Program Management 2010-09-21 12:49:17 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Hans de Goede 2010-10-09 08:12:25 UTC
Hi,

Some info on verifying this bug. As mentioned in the patch commit message I hit this problem while working on a spice agent for linux:
http://cgit.freedesktop.org/~jwrdegoede/vdagent-linux/

To reproduce to the following:
create a rhel kvm guest using the qxl adapter / spice protocol for display. and not using the usbtablet option for mouse.

Inside this guest, compile the agent, then start vdagentd (as root) followed by vdagent

Notice that you can now move your mouse outside of the spice-client window,
even though it is active (iow grabbed) inside it.

Now press the right mouse button on the desktop background and keep it pressed, this will give you a selection rectangle.

Move the mouse slowly around a bit keeping the button pressed, notice that
the corner of the selectionrectangle exactly matches the hotspot of the mouse corner.

Now move the mouse around fast. After a while you will see the actual mouse
position and the corner of the selection rectangle no longer match. This is caused by the bug this patch fixes.

###

Alternatively, I can verify the fix myself. Once a fixed kernel is available it is easy for me to install it inside my guest and verify this problem is not happening, exp. as I exactly now the problem symptoms.

Regards,

Hans

Comment 6 Jarod Wilson 2010-10-14 14:03:42 UTC
in kernel-2.6.18-227.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 9 errata-xmlrpc 2011-01-13 21:20:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0017.html