Bug 923072

Summary: Remove RHEL-only support for RHEVM 'Pass Ctrl+Alt+Delete to virtual machine'
Product: Red Hat Enterprise Linux 7 Reporter: Geyang Kong <gkong>
Component: virt-viewerAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: cfergeau, codong, cwei, dblechte, jjongsma, juzhou, marcandre.lureau, mjenner, mzhan, rbalakri, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-viewer-0.6.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1007205 (view as bug list) Environment:
Last Closed: 2015-03-05 13:37:17 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:
Bug Depends On: 1007205    
Bug Blocks:    

Description Geyang Kong 2013-03-19 06:56:14 UTC
Description of problem:
  Guest can always get CAD combination key through user portal

Version-Release number of selected component (if applicable):
virt-viewer-0.5.4-2.el7.x86_64
spice-xpi-2.8-1.el7.x86_64

Reproduce steps:
1. Create a guest on RHEVM
2. Login user portal.
3. Uncheck "Pass Ctrl-Alt-Del to virtual machine" in "Console Options"
4. Connect to guest, press Ctrl-Alt-Del

Actual results:
1. Guest could get CAD keys

Expected results:
1. Guest couldn't get CAD keys

Additional info:
1. This issue cannot be reproduced by rhel6u4
virt-viewer-0.5.2-18.el6.x86_64
spice-xpi-2.7-22.el6.x86_64

Comment 2 Marc-Andre Lureau 2013-12-11 00:16:08 UTC
some rhel-specific patch needs to be carry over, moving to POST

Comment 3 Christophe Fergeau 2014-01-28 16:58:12 UTC
Ctrl+Alt+Del enable/disable support is being phased away, see bug#1007726 for example, so I'd rather we don't add these non-upstream patches for this feature to the RHEL7 package.

Comment 4 Cui Lei 2014-03-14 02:40:00 UTC
From QE opinion, we agree remove the 'enable/disable' option, just enable Ctrl+Alt+Del by default.
BTW, bug#1007726 still waiting PM ack+

Comment 7 zhoujunqin 2014-07-23 06:48:21 UTC
Tested with:
virt-viewer-0.6.0-1.el7.x86_64
spice-gtk3-0.22-1.el7.x86_64
spice-vdagent-0.14.0-7.el7.x86_64
spice-gtk-devel-0.22-1.el7.x86_64
spice-server-0.12.4-5.el7.x86_64
spice-glib-0.22-1.el7.x86_64
spice-gtk-tools-0.22-1.el7.x86_64
spice-glib-devel-0.22-1.el7.x86_64
spice-protocol-0.12.6-2.el7.noarch
spice-gtk-0.22-1.el7.x86_64
spice-gtk3-devel-0.22-1.el7.x86_64
spice-gtk3-vala-0.22-1.el7.x86_64
spice-gtk-python-0.22-1.el7.x86_64

Steps:
1.Configure a spice guest on rhev.
2.Check VM Console options,it has option "Map control-alt-del shortcut to ctrl+alt+end".
3.Test the new option "Map control-alt-del shortcut to ctrl+alt+end".
3.1 Enabled "Map control-alt-del shortcut to ctrl+alt+end".
Checked in remote-viewer console,there is "ctrl+alt+end" listed in "Send key".
Press "ctrl+alt+end",it is passed to the guest (VM) as Ctrl+Alt+Del.
3.2 Disalbe "Map control-alt-del shortcut to ctrl+alt+end".
Checked in remote-viewer console,there is no "ctrl+alt+end" listed in "Send key".
Press "ctrl+alt+end",no keys are sent to guest.
4.If choose open console as "save file" as console.vv,in the console.vv,there is content as: 
"secure-attention=ctrl+alt+end".
And the shortcut keys work when I lanuch guest using remote-viewer console.vv.

Refer to the above comments,move the bug to VERIFIED.

Comment 9 errata-xmlrpc 2015-03-05 13:37:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0295.html