From: balrog Date: Fri, 18 May 2007 17:46:59 +0000 (+0000) Subject: Fix sysrq support from the monitor mux (originally by Jason Wessel). X-Git-Tag: release_0_9_1~1068 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36ddb83bd8fcb587e5d3b759543a13680e6836fb;p=thirdparty%2Fqemu.git 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 --- diff --git a/vl.c b/vl.c index fededf20ea8..7dcfb583187 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 */