aboutsummaryrefslogtreecommitdiff
path: root/hw/input/milkymist-softusb.c
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-06-29 15:11:51 +0200
committerGreg Kurz <groug@kaod.org>2017-06-29 15:11:51 +0200
commite08d1e11ed40b93e62ae8973159e6c1a306cd70e (patch)
treec22c2c8e9347ddac81671f4cdc960c353931b350 /hw/input/milkymist-softusb.c
parent8d37de41cab145cbba250a8f1f1372b0a5cdf26f (diff)
xen-9pfs: disconnect if buffers are misconfigured
Implement xen_9pfs_disconnect by unbinding the event channels. On xen_9pfs_free, call disconnect if any event channels haven't been disconnected. If the frontend misconfigured the buffers set the backend to "Closing" and disconnect it. Misconfigurations include requesting a read of more bytes than available on the ring buffer, or claiming to be writing more data than available on the ring buffer. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/input/milkymist-softusb.c')
0 files changed, 0 insertions, 0 deletions