Skip to contentSkip to conversation

[4658] Add sysrq to key names known by "sendkey".

Qemu-devel Andrzej Zaborowski 1 participant 1 message Jun 4, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4658

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4658
Author:   balrog
Date:     2008-06-04 10:14:16 +0000 (Wed, 04 Jun 2008)

Log Message:
-----------
Add sysrq to key names known by "sendkey".

Adding sysrq keycode to the table enabling running sysrq debugging in the guest via the monitor sendkey command, like:

(qemu) sendkey alt-sysrq-t

Tested on x86-64 target and Linux guest.

Modified Paths:
--------------
trunk/monitor.c

Modified: trunk/monitor.c
===================================================================

monitor.c +1 -0
@@ -867,6 +867,7 @@
     { 0x4e, "kp_add" },
     { 0x9c, "kp_enter" },
     { 0x53, "kp_decimal" },
+    { 0x54, "sysrq" },
 
     { 0x52, "kp_0" },
     { 0x4f, "kp_1" },