Message ID | 20180216172910.8549-6-maxime.coquelin@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/scsi/vhost-user-scsi.c b/hw/scsi/vhost-user-scsi.c index 9389ed48e0..da36a3b7f5 100644 --- a/hw/scsi/vhost-user-scsi.c +++ b/hw/scsi/vhost-user-scsi.c @@ -58,6 +58,8 @@ static void vhost_user_scsi_set_status(VirtIODevice *vdev, uint8_t status) } else { vhost_scsi_common_stop(vsc); } + + vhost_dev_set_virtio_status(&vsc->dev, status); } static void vhost_dummy_handle_output(VirtIODevice *vdev, VirtQueue *vq)
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> --- hw/scsi/vhost-user-scsi.c | 2 ++ 1 file changed, 2 insertions(+)