commit | 7b0bfdf52d694c9a3a96505aa42ce3f8d63acd35 | [log] [tgz] |
---|---|---|
author | Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> | Tue May 27 15:03:48 2014 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Jun 19 16:41:54 2014 +0300 |
tree | ba5112e9386ab9cc4372aa5daa6df386a3874e64 | |
parent | 69e03ae64ba01c4846425fb13e494bce3eedfa6b [diff] |
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>