aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/xen.h
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-07-06 11:01:08 -0700
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2017-08-31 09:45:55 -0400
commit5ad9918ffc4157f239f2e7849b4987d3b20f917e (patch)
tree6c2a8dc4e33440b1375960a81b62fd715c3f1941 /include/xen/xen.h
parentxen/pvcalls: implement read (diff)
downloadlinux-dev-5ad9918ffc4157f239f2e7849b4987d3b20f917e.tar.xz
linux-dev-5ad9918ffc4157f239f2e7849b4987d3b20f917e.zip
xen/pvcalls: implement write
When the other end notifies us that there is data to be written (pvcalls_back_conn_event), increment the io and write counters, and schedule the ioworker. Implement the write function called by ioworker by reading the data from the data ring, writing it to the socket by calling inet_sendmsg. Set out_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>
Diffstat (limited to 'include/xen/xen.h')
0 files changed, 0 insertions, 0 deletions