commit | b3f9f773af1f925b35f73f5e946bd96728b96cca | [log] [tgz] |
---|---|---|
author | Stefano Stabellini <sstabellini@kernel.org> | Thu Jul 06 11:01:08 2017 -0700 |
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Thu Aug 31 09:45:55 2017 -0400 |
tree | a619600316e6737d2fd03edaee498f48fa9ec138 | |
parent | 5d520d8580b31d75a115ac58ab0a804b92581fd5 [diff] |
xen/pvcalls: implement read When an active socket has data available, increment the io and read counters, and schedule the ioworker. Implement the read function by reading from the socket, writing the data to the data ring. Set in_error on error. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Juergen Gross <jgross@suse.com> CC: boris.ostrovsky@oracle.com CC: jgross@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>