qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] add sysrq to keycode table in monitor.c
@ 2008-05-28 19:46 Ryan Harper
  2008-06-03 19:17 ` [Qemu-devel] " Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Harper @ 2008-05-28 19:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm

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
ryanh@us.ibm.com


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

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
---
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" },

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Qemu-devel] Re: [PATCH] add sysrq to keycode table in monitor.c
  2008-05-28 19:46 [Qemu-devel] [PATCH] add sysrq to keycode table in monitor.c Ryan Harper
@ 2008-06-03 19:17 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2008-06-03 19:17 UTC (permalink / raw)
  To: Ryan Harper; +Cc: qemu-devel

Ryan Harper wrote:
> 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.
>
>   

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-03 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28 19:46 [Qemu-devel] [PATCH] add sysrq to keycode table in monitor.c Ryan Harper
2008-06-03 19:17 ` [Qemu-devel] " Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).