virtio: remove VHOST_USER_F_PROTOCOL_FEATURES from virtio.h

spdk_internal/vhost_user.h head file defines common vhost user
protocol, and it can be used both in the vhost target and virtio
initiator, so remove the definition from virtio.h.

Change-Id: I1fac1cb5a16f803cd0d49962c07d2179f881c76a
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478411
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Changpeng Liu 2019-12-19 02:29:39 -05:00 committed by Tomasz Zawadzki
parent 060d9b85bf
commit e7379fc22f
3 changed files with 2 additions and 4 deletions

View File

@ -48,10 +48,6 @@
#include "spdk/pci_ids.h" #include "spdk/pci_ids.h"
#include "spdk/env.h" #include "spdk/env.h"
#ifndef VHOST_USER_F_PROTOCOL_FEATURES
#define VHOST_USER_F_PROTOCOL_FEATURES 30
#endif
/** /**
* The maximum virtqueue size is 2^15. Use that value as the end of * The maximum virtqueue size is 2^15. Use that value as the end of
* descriptor chain terminator since it will never be a valid index * descriptor chain terminator since it will never be a valid index

View File

@ -46,6 +46,7 @@
#include "spdk/bdev_module.h" #include "spdk/bdev_module.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"
#include "spdk_internal/virtio.h" #include "spdk_internal/virtio.h"
#include "spdk_internal/vhost_user.h"
#include <linux/virtio_blk.h> #include <linux/virtio_blk.h>

View File

@ -46,6 +46,7 @@
#include "spdk/bdev_module.h" #include "spdk/bdev_module.h"
#include "spdk_internal/log.h" #include "spdk_internal/log.h"
#include "spdk_internal/virtio.h" #include "spdk_internal/virtio.h"
#include "spdk_internal/vhost_user.h"
#include <linux/virtio_scsi.h> #include <linux/virtio_scsi.h>