diff --git a/lib/virtio/virtio_user.c b/lib/virtio/virtio_user.c index ab9cce2ba..a45d36ca0 100644 --- a/lib/virtio/virtio_user.c +++ b/lib/virtio/virtio_user.c @@ -365,8 +365,8 @@ virtio_user_del_queue(struct virtio_dev *vdev, struct virtqueue *vq) * For modern devices, set queue desc, avail, used in PCI bar to 0, * not see any more behavior in QEMU. * - * Here we just care about what information to deliver to vhost-user - * or vhost-kernel. So we just close ioeventfd for now. + * Here we just care about what information to deliver to vhost-user. + * So we just close ioeventfd for now. */ struct virtio_user_dev *dev = vdev->ctx; diff --git a/lib/virtio/virtio_user/vhost.h b/lib/virtio/virtio_user/vhost.h index 35a1af349..bb8879ecd 100644 --- a/lib/virtio/virtio_user/vhost.h +++ b/lib/virtio/virtio_user/vhost.h @@ -71,10 +71,8 @@ enum vhost_user_request { struct virtio_user_backend_ops; struct virtio_user_dev { - /* for vhost_user backend */ int vhostfd; - /* for both vhost_user and vhost_kernel */ int callfds[SPDK_VIRTIO_MAX_VIRTQUEUES]; int kickfds[SPDK_VIRTIO_MAX_VIRTQUEUES]; uint32_t queue_size; @@ -101,6 +99,5 @@ struct vhost_user_config { }; extern struct virtio_user_backend_ops ops_user; -extern struct virtio_user_backend_ops ops_kernel; #endif