···3232static void random_recv_done(struct virtqueue *vq)3333{3434 /* We can get spurious callbacks, e.g. shared IRQs + virtio_pci. */3535- if (!vq->vq_ops->get_buf(vq, &data_avail))3535+ if (!virtqueue_get_buf(vq, &data_avail))3636 return;37373838 complete(&have_data);···4646 sg_init_one(&sg, buf, size);47474848 /* There should always be room for one buffer. */4949- if (vq->vq_ops->add_buf(vq, &sg, 0, 1, buf) < 0)4949+ if (virtqueue_add_buf(vq, &sg, 0, 1, buf) < 0)5050 BUG();51515252- vq->vq_ops->kick(vq);5252+ virtqueue_kick(vq);5353}54545555static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait)