nvme_cq_kick(cq, start_sqs);
}
+static bool nvme_cq_notifier_aio_poll(void *opaque)
+{
+ return false;
+}
+
+static void nvme_cq_notifier_aio_poll_ready(EventNotifier *n)
+{
+ ;
+}
+
static int nvme_init_cq_ioeventfd(NvmeCQueue *cq)
{
NvmeCtrl *n = cq->ctrl;
}
if (cq->cqid) {
- aio_set_event_notifier(n->ctx, &cq->notifier, nvme_cq_notifier, NULL,
- NULL);
+ aio_set_event_notifier(n->ctx, &cq->notifier, nvme_cq_notifier,
+ nvme_cq_notifier_aio_poll,
+ nvme_cq_notifier_aio_poll_ready);
} else {
event_notifier_set_handler(&cq->notifier, nvme_cq_notifier);
}