diff options
| author | Amit Shah <amit.shah@redhat.com> | 2011-12-21 12:28:27 +0530 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-21 15:00:29 -0600 |
| commit | 6640422c172e01d0e191a754d3643a68abca83bc (patch) | |
| tree | 198effaabe30c44cea7a2f94e29531c57e73042e /hw/virtio-serial-bus.c | |
| parent | 3799ce4ab64f578eb818689a276e4f0c73d01fb5 (diff) | |
| download | focaccia-qemu-6640422c172e01d0e191a754d3643a68abca83bc.tar.gz focaccia-qemu-6640422c172e01d0e191a754d3643a68abca83bc.zip | |
virtio-console: Check if chardev backends available before calling into them
For the callback functions invoked by the virtio-serial-bus code, check if we have chardev backends registered before we call into the chardev functions. Signed-off-by: Amit Shah <amit.shah@redhat.com> 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