summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-11-03 19:59:55 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-17 08:03:30 -0600
commit57e073a3a152d0e63c3df257c60ababb19f2c13d (patch)
tree0cc9772c7c7904ccb5ff71b4d8982c59d554bcef /vl.c
parent9bd7854e1e5d6f4cfe4558090bbd9493c12bf846 (diff)
downloadqemu-57e073a3a152d0e63c3df257c60ababb19f2c13d.tar.gz
qemu-57e073a3a152d0e63c3df257c60ababb19f2c13d.tar.bz2
qemu-57e073a3a152d0e63c3df257c60ababb19f2c13d.zip
char: Remove special init_reset handling
The initial_reset sent to chardevs doesn't do much other than setting a bool to true. Char devices are interested in the open event and that gets sent whenever the device is opened. Moreover, the reset logic breaks as and when qemu's bh scheduling changes. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index fff8e8d468..18353f289e 100644
--- a/vl.c
+++ b/vl.c
@@ -5790,7 +5790,6 @@ int main(int argc, char **argv, char **envp)
}
text_consoles_set_display(display_state);
- qemu_chr_initial_reset();
for (i = 0; i < MAX_MONITOR_DEVICES; i++) {
if (monitor_devices[i] && monitor_hds[i]) {