diff options
| author | Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> | 2014-05-27 15:03:48 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 16:41:54 +0300 |
| commit | 7b0bfdf52d694c9a3a96505aa42ce3f8d63acd35 (patch) | |
| tree | ba5112e9386ab9cc4372aa5daa6df386a3874e64 /hw/net/vhost_net.c | |
| parent | 69e03ae64ba01c4846425fb13e494bce3eedfa6b (diff) | |
| download | focaccia-qemu-7b0bfdf52d694c9a3a96505aa42ce3f8d63acd35.tar.gz focaccia-qemu-7b0bfdf52d694c9a3a96505aa42ce3f8d63acd35.zip | |
Add chardev API qemu_chr_fe_read_all
This function will attempt to read data from the chardev trying to fill the buffer up to the given length. Add tcp_chr_disconnect to reuse disconnection code where needed. Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com> Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions