summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChangpeng Liu2018-05-29 03:24:35 +0200
committerMichael S. Tsirkin2018-06-01 18:20:38 +0200
commit25b1d45a1975fd8624c37b5bf42e8502ccf53460 (patch)
tree142b8efd36a8abb4ff8a44e651bc928380fc935c /include
parentACPI testing: test NFIT platform capabilities (diff)
downloadqemu-25b1d45a1975fd8624c37b5bf42e8502ccf53460.tar.gz
qemu-25b1d45a1975fd8624c37b5bf42e8502ccf53460.tar.xz
qemu-25b1d45a1975fd8624c37b5bf42e8502ccf53460.zip
vhost-blk: turn on pre-defined RO feature bit
Read only feature shouldn't be negotiable, because if the backend device reported Read only feature supported, QEMU host driver shouldn't change backend's RO attribute. While here, also enable the vhost-user-blk test utility to test RO feature. Signed-off-by: Changpeng Liu <changpeng.liu@intel.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 'include')
-rw-r--r--include/hw/virtio/vhost-user-blk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/vhost-user-blk.h b/include/hw/virtio/vhost-user-blk.h
index f1258ae545..d52944aeeb 100644
--- a/include/hw/virtio/vhost-user-blk.h
+++ b/include/hw/virtio/vhost-user-blk.h
@@ -35,7 +35,6 @@ typedef struct VHostUserBlk {
uint16_t num_queues;
uint32_t queue_size;
uint32_t config_wce;
- uint32_t config_ro;
struct vhost_dev dev;
VhostUserState *vhost_user;
} VHostUserBlk;