Re: [Qemu-devel] [PATCH v2] vhost-user-blk: start vhost when guest kicks

2018-09-18 Thread Yongji Xie
Kindly ping... On Thu, 7 Jun 2018 at 20:50, Stefan Hajnoczi wrote: > > 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

Re: [Qemu-devel] [PATCH v2] vhost-user-blk: start vhost when guest kicks

2018-06-07 Thread Stefan Hajnoczi
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

[Qemu-devel] [PATCH v2] vhost-user-blk: start vhost when guest kicks

2018-06-06 Thread Yongji Xie
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: