aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/vhost-scsi-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/scsi/vhost-scsi-common.c')
-rw-r--r--hw/scsi/vhost-scsi-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/scsi/vhost-scsi-common.c b/hw/scsi/vhost-scsi-common.c
index e2a5828af1..b7fbab65dd 100644
--- a/hw/scsi/vhost-scsi-common.c
+++ b/hw/scsi/vhost-scsi-common.c
@@ -96,6 +96,9 @@ uint64_t vhost_scsi_common_get_features(VirtIODevice *vdev, uint64_t features,
{
VHostSCSICommon *vsc = VHOST_SCSI_COMMON(vdev);
+ /* Turn on predefined features supported by this device */
+ features |= vsc->host_features;
+
return vhost_get_features(&vsc->dev, vsc->feature_bits, features);
}