DescriptionMichal Skrivanek
2013-12-13 11:22:01 UTC
+++ This bug was initially created as a clone of Bug #1029441 +++
Description of problem:
Currently engine allows user to enable "pass c-a-d to virtual machine" per vm. When enabled, this features should redirect c-a-d keystroke from the client machine to the guest. However there are problems with current windows versions (> xp) since (for security reasons) the client OS always catches c-a-d keystroke.
Solution:
To solve this problem engine should utilize virt-viewer feature that allow mapping c-a-d to arbitrary keystroke (e.g. ctrl-alt-end) via the "hotkeys" option. The original "pass c-a-d option" will be removed.
This feature will be available for both SPICE and VNC protocols.
Verified in downstream rhevm-3.4.0-0.9.beta1.el6ev (av3.1).
VM Console Options dialog now has option "Map control-alt-del shortcut to ctrl+alt+end" as replacement for "Pass Ctrl-Alt-Del to virtual machine".
If checked, keystroke Ctrl+Alt+End is passed to the guest (VM) as Ctrl+Alt+Del. This works for VNC console as well as for SPICE console.
The mapping is passed to the Virt Viewer in the console.vv file as argument "secure-attention=ctrl+alt+end".
Verified on clients (systems from were the VM console has been opened): Windows XP, Windows 7 x64 and RHEL 6.