« Previous | Next » 

Revision 05e7af69

ID05e7af694ce00dafdc464ca70306fa9dd6f78dcd

Added by Amit Shah over 12 years ago

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 <>
Signed-off-by: Amit Shah <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences