Commit f0501959 authored by Dariusz Stojaczyk's avatar Dariusz Stojaczyk Committed by Jim Harris
Browse files

virtio/user: remove leftover kernel vhost references



We don't support the kernel vhost. Vhost-SCSI is not even
fully implemented in Linux, so there's no point trying.

Change-Id: Ie564d46c497718081dd2a5c28829fdcf88e1c0a0
Signed-off-by: default avatarDariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/417455


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent f2da539d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;

+0 −3
Original line number Diff line number Diff line
@@ -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