[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] vhost-user-blk: start vhost when guest kicks
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2] vhost-user-blk: start vhost when guest kicks |
Date: |
Thu, 7 Jun 2018 13:50:11 +0100 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
On Wed, Jun 06, 2018 at 09:24:48PM +0800, Yongji Xie wrote:
> Some old guests (before commit 7a11370e5: "virtio_blk: enable VQs early")
> kick virtqueue before setting VIRTIO_CONFIG_S_DRIVER_OK. This violates
> the virtio spec. But virtio 1.0 transitional devices support this behaviour.
> So we should start vhost when guest kicks in this case.
>
> Signed-off-by: Yongji Xie <address@hidden>
> Signed-off-by: Chai Wen <address@hidden>
> Signed-off-by: Ni Xun <address@hidden>
> ---
> hw/block/vhost-user-blk.c | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature