projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f9bc8
)
Add sysrq to key names known by "sendkey".
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 4 Jun 2008 10:14:16 +0000
(10:14 +0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 4 Jun 2008 10:14:16 +0000
(10:14 +0000)
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
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index 91ff29dfd37c76418920e704f55ba860de0e9a29..e6abcdd7270ddbb4e0d5104dc24acd268ed92de7 100644
(file)
--- 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" },