Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04b59bab authored by Asias He's avatar Asias He Committed by Nicholas Bellinger
Browse files

tcm_vhost: Enable VIRTIO_SCSI_F_HOTPLUG



Everything for hotplug is ready. Let's enable the feature bit.

Signed-off-by: default avatarAsias He <asias@redhat.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 11c63418
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -66,7 +66,8 @@ enum {
 * TODO: debug and remove the workaround.
 * TODO: debug and remove the workaround.
 */
 */
enum {
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
#define VHOST_SCSI_MAX_TARGET	256