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
This commit is contained in:
balrog 2007-05-18 17:46:59 +00:00
parent fd4a04ebb2
commit 36ddb83bd8
1 changed files with 1 additions and 2 deletions

3
vl.c
View File

@ -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 */