* [Qemu-devel] [PATCH] Fix sysrq support from the monitor mux
@ 2007-05-18 11:53 Jason Wessel
0 siblings, 0 replies; only message in thread
From: Jason Wessel @ 2007-05-18 11:53 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
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 <jason.wessel@windriver.com>
Jason.
[-- Attachment #2: sys_rq_fix.patch --]
[-- Type: text/x-patch, Size: 550 bytes --]
---
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-18 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-18 11:53 [Qemu-devel] [PATCH] Fix sysrq support from the monitor mux Jason Wessel
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).