"vring call idx:%d file:%d\n", file.index, file.fd);
vq = dev->virtqueue[file.index];
+
+ if (vq->ready) {
+ vhost_user_notify_queue_state(dev, file.index, 0);
+ vq->ready = 0;
+ }
+
if (vq->callfd >= 0)
close(vq->callfd);
dev->vid, file.index, 1);
}
+ if (vq->ready) {
+ vhost_user_notify_queue_state(dev, file.index, 0);
+ vq->ready = 0;
+ }
+
if (vq->kickfd >= 0)
close(vq->kickfd);
vq->kickfd = file.fd;