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 664773

Summary: changing workspace leaves Xen VM with SDL interface stuck
Product: Red Hat Enterprise Linux 5 Reporter: Paolo Bonzini <pbonzini>
Component: xenAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.7CC: jzheng, leiwang, mjenner, mrezanin, pcao, qwan, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xen-3.0.3-126.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 664771 Environment:
Last Closed: 2012-01-09 10:42:37 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: 664771    
Bug Blocks: 630814, 699616    

Description Paolo Bonzini 2010-12-21 15:51:55 UTC
Install an HVM guest and run this loop in a shell:

    i=0; while sleep 1; do echo $i; i=$((i+1)); done

Change workspace, stay there, go back.  The counter won't advance from the moment you press Ctrl-Alt-Right to the moment you go back to the original workspace and release Ctrl-Alt.

Version-Release number of selected component (if applicable):
xen-3.0.3-120.el5

How reproducible:
100%

Steps to Reproduce:
1. See above.

Actual results:
Counter in the VM remains stuck.

Expected results:
Counter in the VM proceeds normally.

Additional info:
Fixed by upstream patch 6bb81603 ("Handle SDL grabs failing (Mark McLoughlin)")

Comment 1 Paolo Bonzini 2010-12-22 13:18:08 UTC
Makes sense to backport this at the same time:

bec131e69d29e55472f98412aa302f4c671423b3
    show right cursor when ungrabbing

Comment 2 Paolo Bonzini 2011-01-12 15:33:47 UTC
Adding 630814 to "blocks" due to conflict in the patches.

Comment 4 Miroslav Rezanina 2011-03-17 09:54:20 UTC
Fix built into xen-3.0.3-126.el5

Comment 6 Paolo Bonzini 2011-03-17 13:52:45 UTC
Mirek,

please remove the bug from the errata until we have some news on bug 664771.  Without an SDL update, the bug will still be present.

Comment 11 Qixiang Wan 2011-12-09 11:06:03 UTC
Failed with xen-3.0.3-135.el5 + SDL-1.2.10-9.el5, the counter in the VM still stuck when change to another workspace.

Comment 12 Miroslav Rezanina 2012-01-09 10:42:37 UTC
As this was internally raised issue and it looks like there's no customer interest in sdl support, closing this as WONTFIX.