Home
last modified time | relevance | path

Searched hist:"357 e2f7f4e4dc68f01d5b81f5cd669874314e14a" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/9pfs/
H A D9p-synth.hdiff 357e2f7f4e4dc68f01d5b81f5cd669874314e14a Thu Feb 01 14:21:28 CST 2018 Greg Kurz <groug@kaod.org> 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)
H A D9p-synth.cdiff 357e2f7f4e4dc68f01d5b81f5cd669874314e14a Thu Feb 01 14:21:28 CST 2018 Greg Kurz <groug@kaod.org> 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)
H A D9p.cdiff 357e2f7f4e4dc68f01d5b81f5cd669874314e14a Thu Feb 01 14:21:28 CST 2018 Greg Kurz <groug@kaod.org> 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)