]> git.proxmox.com Git - qemu.git/commit
char: Remove special init_reset handling
authorAmit Shah <amit.shah@redhat.com>
Tue, 3 Nov 2009 14:29:55 +0000 (19:59 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 17 Nov 2009 14:03:30 +0000 (08:03 -0600)
commit57e073a3a152d0e63c3df257c60ababb19f2c13d
tree0cc9772c7c7904ccb5ff71b4d8982c59d554bcef
parent9bd7854e1e5d6f4cfe4558090bbd9493c12bf846
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>
qemu-char.c
qemu-char.h
vl.c