vhost/vhost_internal: Add VIRTIO_BLOCK_F_CONFIG_WCE definition

This flag is needed for compatibility with older versions of the virtio_blk library.

Change-Id: I8243d51a39971dd37d0c65b29bd976b5b84978aa
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/367612
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Seth Howell 2017-06-29 14:01:15 -07:00 committed by Daniel Verkamp
parent c6703d8d6e
commit 82cc48c862

View File

@ -51,6 +51,10 @@
#define VIRTIO_F_VERSION_1 32 #define VIRTIO_F_VERSION_1 32
#endif #endif
#ifndef VIRTIO_BLK_F_CONFIG_WCE
#define VIRTIO_BLK_F_CONFIG_WCE 11
#endif
#define MAX_VHOST_VRINGS 256 #define MAX_VHOST_VRINGS 256
#define SPDK_VHOST_SCSI_CTRLR_MAX_DEVS 8 #define SPDK_VHOST_SCSI_CTRLR_MAX_DEVS 8