aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-04 10:14:16 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-04 10:14:16 +0000
commitf2289cb6924afc97b2a75d21bfc9217024d11741 (patch)
treec8e59d1129f6e2dcf8b6539b7c92dac3790cd0c8
parent3401c0d95ffb9a9a57093ee002d24d014ffed4f8 (diff)
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. Signed-off-by: Ryan Harper <ryanh@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4658 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 91ff29dfd3..e6abcdd727 100644
--- a/monitor.c
+++ b/monitor.c
@@ -867,6 +867,7 @@ static const KeyDef key_defs[] = {
{ 0x4e, "kp_add" },
{ 0x9c, "kp_enter" },
{ 0x53, "kp_decimal" },
+ { 0x54, "sysrq" },
{ 0x52, "kp_0" },
{ 0x4f, "kp_1" },