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>
This commit is contained in:
Amit Shah 2009-11-03 19:59:55 +05:30 committed by Anthony Liguori
parent 9bd7854e1e
commit 57e073a3a1
3 changed files with 0 additions and 11 deletions

1
vl.c
View file

@ -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]) {