qemu-e2k/tests/libqos
Greg Kurz be3a678160 libqos/virtio: return length written into used descriptor
When a 9p request is flushed (ie, cancelled) by the guest, the device
is expected to simply mark the request as used, without sending a 9p
reply (ie, without writing anything into the used buffer).

To be able to test this, we need access to the length written by the
device into the used descriptor. This patch adds a uint32_t * argument
to qvirtqueue_get_buf() and qvirtio_wait_used_elem() for this purpose.

All existing users are updated accordingly.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-02-02 11:11:55 +01:00
..
ahci.c tests: use g_new() family of functions 2017-10-16 13:29:49 +02:00
ahci.h
fw_cfg.c
fw_cfg.h
i2c-imx.c
i2c-omap.c
i2c.c
i2c.h
libqos-pc.c
libqos-pc.h
libqos-spapr.c
libqos-spapr.h
libqos.c tests: use g_new() family of functions 2017-10-16 13:29:49 +02:00
libqos.h
malloc-generic.c
malloc-generic.h
malloc-pc.c
malloc-pc.h
malloc-spapr.c
malloc-spapr.h
malloc.c tests: use g_new() family of functions 2017-10-16 13:29:49 +02:00
malloc.h
pci-pc.c
pci-pc.h
pci-spapr.c
pci-spapr.h
pci.c tests: Fix broken ivshmem-server-msi/-irq tests 2017-09-15 09:05:18 +02:00
pci.h
rtas.c
rtas.h
usb.c tests: Introduce generic device hot-plug/hot-unplug functions 2017-09-15 09:05:18 +02:00
usb.h
virtio-mmio.c
virtio-mmio.h
virtio-pci.c tests: fix virtio-blk-test leaks 2017-03-01 11:58:57 +04:00
virtio-pci.h tests: add specialized device_find function 2017-03-01 11:57:04 +04:00
virtio.c libqos/virtio: return length written into used descriptor 2018-02-02 11:11:55 +01:00
virtio.h libqos/virtio: return length written into used descriptor 2018-02-02 11:11:55 +01:00