mirror of https://gitee.com/openkylin/qemu.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
This commit is contained in:
parent
fd4a04ebb2
commit
36ddb83bd8
3
vl.c
3
vl.c
|
@ -1365,8 +1365,7 @@ static int mux_proc_byte(CharDriverState *chr, MuxDriver *d, int ch)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'b':
|
case 'b':
|
||||||
if (chr->chr_event)
|
qemu_chr_event(chr, CHR_EVENT_BREAK);
|
||||||
chr->chr_event(chr->opaque, CHR_EVENT_BREAK);
|
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
/* Switch to the next registered device */
|
/* Switch to the next registered device */
|
||||||
|
|
Loading…
Reference in New Issue