[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix sysrq support from the monitor mux
From: |
Jason Wessel |
Subject: |
[Qemu-devel] [PATCH] Fix sysrq support from the monitor mux |
Date: |
Fri, 18 May 2007 06:53:51 -0500 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070302) |
The monitor mux code calls uses the wrong opaque structure and crashes
qemu. This patch fixes it such that the sysrq support works correctly.
Signed-off-by: Jason Wessel <address@hidden>
Jason.
---
vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qemu/vl.c
===================================================================
--- qemu.orig/vl.c
+++ qemu/vl.c
@@ -1371,7 +1371,7 @@ static int mux_proc_byte(CharDriverState
break;
case 'b':
if (chr->chr_event)
- chr->chr_event(chr->opaque, CHR_EVENT_BREAK);
+ chr->chr_event(chr->handler_opaque, CHR_EVENT_BREAK);
break;
case 'c':
/* Switch to the next registered device */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix sysrq support from the monitor mux,
Jason Wessel <=