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.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[EMAIL PROTECTED]


diffstat output:
 monitor.c |    1 +
 1 files changed, 1 insertion(+)

Signed-off-by: Ryan Harper <[EMAIL PROTECTED]>
---
diff --git a/monitor.c b/monitor.c
index 5a9a7fa..b05a766 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" },
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to