Skip to content

Commit

Permalink
tcm_vhost: Enable VIRTIO_SCSI_F_HOTPLUG
Browse files Browse the repository at this point in the history
Everything for hotplug is ready. Let's enable the feature bit.

Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  • Loading branch information
Asias He authored and Nicholas Bellinger committed Apr 25, 2013
1 parent 11c6341 commit 04b59ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/vhost/tcm_vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04b59ba

Please sign in to comment.