/* virtqueue_kick - Notifies other side that there is buffer available for it. */
void virtqueue_kick(struct virtqueue *vq)
/* virtqueue_kick - Notifies other side that there is buffer available for it. */
void virtqueue_kick(struct virtqueue *vq)
{
	VQUEUE_BUSY(vq);
	atomic_thread_fence(memory_order_seq_cst);
	if (vq_ring_must_notify_host(vq))
		vq_ring_notify_host(vq);
	vq->vq_queued_cnt = 0;
	VQUEUE_IDLE(vq);
}