diff options
author | Yongji Xie <elohimes@gmail.com> | 2018-06-06 21:24:48 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-11-05 13:24:02 -0500 |
commit | 110b9463d5c820120c8311db79f55a64c9d81ebe (patch) | |
tree | af937b1123c66d0e2cb48e849d443ced4d8407ce /hw/arm/mps2-tz.c | |
parent | c28b535d083d0a263d38d9ceeada83cdae8c64f0 (diff) |
vhost-user-blk: start vhost when guest kicks
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 <xieyongji@baidu.com>
Signed-off-by: Chai Wen <chaiwen@baidu.com>
Signed-off-by: Ni Xun <nixun@baidu.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/arm/mps2-tz.c')
0 files changed, 0 insertions, 0 deletions