Commit 36ddb83b authored by balrog's avatar balrog
Browse files

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
parent fd4a04eb
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment