]> git.baikalelectronics.ru Git - kernel.git/commit
ringtest: commonize implementation of poll_avail/poll_used
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Oct 2016 09:39:11 +0000 (11:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 22:21:43 +0000 (00:21 +0200)
commit87275f8806a7671b95dcade235e8c44b374e2438
treed71957ed6843a84c8328587604b9bdfe84363094
parent57058ae5f954babb7c58e285767eedc2d5ad686a
ringtest: commonize implementation of poll_avail/poll_used

Provide new primitives used_empty/avail_empty and
build poll_avail/poll_used on top of it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/ringtest/main.c
tools/virtio/ringtest/main.h
tools/virtio/ringtest/noring.c
tools/virtio/ringtest/ptr_ring.c
tools/virtio/ringtest/ring.c
tools/virtio/ringtest/virtio_ring_0_9.c