Commit f2289cb6924afc97b2a75d21bfc9217024d11741
1 parent
3401c0d9
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
Showing
1 changed file
with
1 additions
and
0 deletions
monitor.c
@@ -867,6 +867,7 @@ static const KeyDef key_defs[] = { | @@ -867,6 +867,7 @@ static const KeyDef key_defs[] = { | ||
867 | { 0x4e, "kp_add" }, | 867 | { 0x4e, "kp_add" }, |
868 | { 0x9c, "kp_enter" }, | 868 | { 0x9c, "kp_enter" }, |
869 | { 0x53, "kp_decimal" }, | 869 | { 0x53, "kp_decimal" }, |
870 | + { 0x54, "sysrq" }, | ||
870 | 871 | ||
871 | { 0x52, "kp_0" }, | 872 | { 0x52, "kp_0" }, |
872 | { 0x4f, "kp_1" }, | 873 | { 0x4f, "kp_1" }, |