OSDN Git Service

vhost-user-scsi: start vhost when guest kicks
authorLi Feng <fengli@smartx.com>
Mon, 9 Oct 2023 04:47:00 +0000 (12:47 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Oct 2023 09:18:17 +0000 (05:18 -0400)
commita6a30a7ec01c743fe71ab7461655d89afe152fcf
treec6f81e0bf9a77224633c913343f0ec6f00fbb494
parent7962e432b4e40e4395a93aa121045c58f34195fb
vhost-user-scsi: start vhost when guest kicks

Let's keep the same behavior as vhost-user-blk.

Some old guests kick virtqueue before setting VIRTIO_CONFIG_S_DRIVER_OK.

Signed-off-by: Li Feng <fengli@smartx.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <20231009044735.941655-5-fengli@smartx.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/scsi/vhost-user-scsi.c