Message ID | 20180216172910.8549-5-maxime.coquelin@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/block/vhost-user-blk.c b/hw/block/vhost-user-blk.c index b53b4c9c57..a88b6f13a4 100644 --- a/hw/block/vhost-user-blk.c +++ b/hw/block/vhost-user-blk.c @@ -190,6 +190,7 @@ static void vhost_user_blk_set_status(VirtIODevice *vdev, uint8_t status) vhost_user_blk_stop(vdev); } + vhost_dev_set_virtio_status(&s->dev, status); } static uint64_t vhost_user_blk_get_features(VirtIODevice *vdev,
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> --- hw/block/vhost-user-blk.c | 1 + 1 file changed, 1 insertion(+)