aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-18 17:46:59 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-18 17:46:59 +0000
commit36ddb83bd8fcb587e5d3b759543a13680e6836fb (patch)
tree037b4581f53a560a8bd3b0aaf0a80ec58a5bd797 /vl.c
parentfd4a04ebb220b1ada72275297fc12cb85e89bbfb (diff)
Fix sysrq support from the monitor mux (originally by Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2829 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index fededf20ea..7dcfb58318 100644
--- a/vl.c
+++ b/vl.c
@@ -1365,8 +1365,7 @@ static int mux_proc_byte(CharDriverState *chr, MuxDriver *d, int ch)
}
break;
case 'b':
- if (chr->chr_event)
- chr->chr_event(chr->opaque, CHR_EVENT_BREAK);
+ qemu_chr_event(chr, CHR_EVENT_BREAK);
break;
case 'c':
/* Switch to the next registered device */