]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd3c3589b8b3cd4fabf4cd137facb42a7fb36bd7f
treed71957ed6843a84c8328587604b9bdfe84363094
parent44d65ea1615099ae252407f2554338d450cfdb1c
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