From d71334f6ca8dec07dbaff66452637876bd9e6f5b Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Mon, 9 Dec 2019 02:38:21 -0500 Subject: [PATCH] vhost: remove VIRTIO_BLK_F_* feature bits from vhost_inernal.h VIRTIO_BLK_F_* feature bits is defined by virtio_blk specification and SPDK already has a copy of the system file header in the header directory, so just remove it. Change-Id: I672335218abc8375610a368d84b1a005463a741a Signed-off-by: Changpeng Liu Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477223 Tested-by: SPDK CI Jenkins Community-CI: SPDK CI Jenkins Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris Reviewed-by: Vitaliy Mysak --- lib/vhost/vhost_internal.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/vhost/vhost_internal.h b/lib/vhost/vhost_internal.h index 97c861049..413abf0ac 100644 --- a/lib/vhost/vhost_internal.h +++ b/lib/vhost/vhost_internal.h @@ -50,14 +50,6 @@ #define VIRTIO_F_VERSION_1 32 #endif -#ifndef VIRTIO_BLK_F_MQ -#define VIRTIO_BLK_F_MQ 12 /* support more than one vq */ -#endif - -#ifndef VIRTIO_BLK_F_CONFIG_WCE -#define VIRTIO_BLK_F_CONFIG_WCE 11 -#endif - #define SPDK_VHOST_MAX_VQUEUES 256 #define SPDK_VHOST_MAX_VQ_SIZE 1024