hw/vhost-user-scsi|blk: set `supports_config` flag correctly
authorChangpeng Liu <changpeng.liu@intel.com>
Wed, 25 May 2022 12:55:40 +0000 (20:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Jun 2022 23:32:49 +0000 (19:32 -0400)
commit06cb5c82ebf5fd0f7b3c3de24d650e1259ca6ce4
tree8a7830173df6b35a650033a462c3866022b1343d
parentfb38d0c97dd665f7e0c1cb8176090500ce2275e1
hw/vhost-user-scsi|blk: set `supports_config` flag correctly

Currently vhost-user-scsi driver doesn't allow to change
the configuration space of virtio_scsi, while vhost-user-blk
support that, so here we set the flag in vhost-user-blk driver
and unset it in vhost-user-scsi.

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Message-Id: <20220525125540.50979-2-changpeng.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
hw/block/vhost-user-blk.c
hw/scsi/vhost-user-scsi.c