diff options
author | Amit Shah <amit.shah@redhat.com> | 2011-12-21 12:28:28 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-21 15:00:29 -0600 |
commit | 05e7af694ce00dafdc464ca70306fa9dd6f78dcd (patch) | |
tree | 06c0ced4f1558aced1004634eae18a9bbf775753 /hw/virtio-serial-bus.c | |
parent | 6640422c172e01d0e191a754d3643a68abca83bc (diff) |
virtio-console: Properly initialise class methods
The earlier code really was a hack: initialising class methods in an
object init function as noted by Anthony.
The motivation for that was to not have the virtio-serial-bus call into
the callback functions if there was no chardev backend registered.
However, that really wasn't a worthwhile optimisation, and definitely
not one that was well-implemented. Get rid of it.
Reported-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-serial-bus.c')
0 files changed, 0 insertions, 0 deletions