qemu-e2k/hw/9pfs
Greg Kurz 357e2f7f4e tests: virtio-9p: add FLUSH operation test
The idea is to send a victim request that will possibly block in the
server and to send a flush request to cancel the victim request.

This patch adds two test to verifiy that:
- the server does not reply to a victim request that was actually
  cancelled
- the server replies to the flush request after replying to the
  victim request if it could not cancel it

9p request cancellation reference:

http://man.cat-v.org/plan_9/5/flush

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
(groug, change the test to only write a single byte to avoid
        any alignment or endianess consideration)
2018-02-02 11:11:55 +01:00
..
9p-handle.c 9pfs: deprecate handle backend 2018-01-08 11:18:23 +01:00
9p-local.c fsdev: improve error handling of backend init 2018-01-08 11:18:23 +01:00
9p-local.h
9p-posix-acl.c
9p-proxy.c fsdev: improve error handling of backend init 2018-01-08 11:18:23 +01:00
9p-proxy.h
9p-synth.c tests: virtio-9p: add FLUSH operation test 2018-02-02 11:11:55 +01:00
9p-synth.h tests: virtio-9p: add FLUSH operation test 2018-02-02 11:11:55 +01:00
9p-util.c 9pfs: local: simplify file opening 2017-05-25 10:30:14 +02:00
9p-util.h 9pfs: local: fix fchmodat_nofollow() limitations 2017-08-10 14:36:11 +02:00
9p-xattr-user.c
9p-xattr.c 9pfs: xattr: fix memory leak in v9fs_list_xattr 2017-04-10 09:38:05 +02:00
9p-xattr.h 9pfs: fix XattrOperations typedef 2018-01-08 11:18:22 +01:00
9p.c tests: virtio-9p: add FLUSH operation test 2018-02-02 11:11:55 +01:00
9p.h 9pfs: drop v9fs_register_transport() 2018-02-01 21:21:27 +01:00
codir.c
cofile.c
cofs.c
coth.c
coth.h
coxattr.c
Makefile.objs 9pfs: fix dependencies 2017-08-30 18:23:25 +02:00
trace-events 9pfs: Correctly handle cancelled requests 2018-02-01 21:21:27 +01:00
virtio-9p-device.c 9pfs: drop v9fs_register_transport() 2018-02-01 21:21:27 +01:00
virtio-9p.h
xen-9p-backend.c 9pfs: drop v9fs_register_transport() 2018-02-01 21:21:27 +01:00
xen-9pfs.h xen/9pfs: introduce Xen 9pfs backend 2017-04-25 11:04:28 -07:00