From f2289cb6924afc97b2a75d21bfc9217024d11741 Mon Sep 17 00:00:00 2001 From: balrog Date: Wed, 4 Jun 2008 10:14:16 +0000 Subject: 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 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4658 c046a42c-6fe2-441c-8c8c-71466251a162 --- monitor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'monitor.c') 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" }, -- cgit v1.2.3