diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-27 23:46:43 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-27 23:46:43 +0000 |
commit | e5b0bc445ed7edb1738aabb982a387ee38da1655 (patch) | |
tree | 1e16d2ed3df380c3cc664d4a5071d5695ad993f6 /monitor.c | |
parent | dff5efc848f5fe3fd8a9a67129a5234fe46ec3bb (diff) | |
download | qemu-e5b0bc445ed7edb1738aabb982a387ee38da1655.zip |
Rearrange char event handlers to fix CHR_EVENT_RESET.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2361 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2455,8 +2455,7 @@ void monitor_init(CharDriverState *hd, int show_banner) monitor_hd = hd; hide_banner = !show_banner; - qemu_chr_add_read_handler(hd, term_can_read, term_read, NULL); - qemu_chr_add_event_handler(hd, term_event); + qemu_chr_add_handlers(hd, term_can_read, term_read, term_event, NULL); } /* XXX: use threads ? */ |