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: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/417455 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
f2da539dbc
commit
f0501959a0
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user