Commit 36ddb83bd8fcb587e5d3b759543a13680e6836fb

Authored by balrog
1 parent fd4a04eb

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
Showing 1 changed file with 1 additions and 2 deletions
@@ -1365,8 +1365,7 @@ static int mux_proc_byte(CharDriverState *chr, MuxDriver *d, int ch) @@ -1365,8 +1365,7 @@ static int mux_proc_byte(CharDriverState *chr, MuxDriver *d, int ch)
1365 } 1365 }
1366 break; 1366 break;
1367 case 'b': 1367 case 'b':
1368 - if (chr->chr_event)  
1369 - chr->chr_event(chr->opaque, CHR_EVENT_BREAK); 1368 + qemu_chr_event(chr, CHR_EVENT_BREAK);
1370 break; 1369 break;
1371 case 'c': 1370 case 'c':
1372 /* Switch to the next registered device */ 1371 /* Switch to the next registered device */