linux/tools/virtio/ringtest/virtio_ring_poll.c

#define RING_POLL 1
#include "virtio_ring_0_9.c"