On 5 June 2018 at 22:23, Michael S. Tsirkin <m...@redhat.com> wrote:
> On Tue, Jun 05, 2018 at 09:56:10PM +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 would cause
>> that those old guests fail to boot with vhost-user-blk device.
>>
>> To fix it, start vhost when guest kicks instead of waiting for .set_status().
>>
>> Signed-off-by: Yongji Xie <xieyon...@baidu.com>
>> Signed-off-by: Chai Wen <chai...@baidu.com>
>> Signed-off-by: Ni Xun <ni...@baidu.com>
>
> Can we at least limit this to when virtio 1.0 has not
> been negotiated?
>

OK, I will limit this to when driver is v0.9.x and device is v1.0 so
we don't violate the spec.

Thanks,
Yongji

Reply via email to