From: Asias He Date: Thu, 25 Apr 2013 07:35:23 +0000 (+0800) Subject: tcm_vhost: Enable VIRTIO_SCSI_F_HOTPLUG X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=04b59babc0ddd2adaebe6ee3064b4d1b4eeecb7f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git tcm_vhost: Enable VIRTIO_SCSI_F_HOTPLUG Everything for hotplug is ready. Let's enable the feature bit. Signed-off-by: Asias He Acked-by: Michael S. Tsirkin Signed-off-by: Nicholas Bellinger --- diff --git a/drivers/vhost/tcm_vhost.c b/drivers/vhost/tcm_vhost.c index 07217d818ad7..1677238d281f 100644 --- a/drivers/vhost/tcm_vhost.c +++ b/drivers/vhost/tcm_vhost.c @@ -66,7 +66,8 @@ enum { * TODO: debug and remove the workaround. */ enum { - VHOST_SCSI_FEATURES = VHOST_FEATURES & (~VIRTIO_RING_F_EVENT_IDX) + VHOST_SCSI_FEATURES = (VHOST_FEATURES & (~VIRTIO_RING_F_EVENT_IDX)) | + (1ULL << VIRTIO_SCSI_F_HOTPLUG) }; #define VHOST_SCSI_MAX_TARGET 256