]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost: let SET_VRING_ENABLE message depends on protocol feature
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 13 Nov 2015 07:24:09 +0000 (15:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 16 Nov 2015 10:02:54 +0000 (12:02 +0200)
commit923e2d98ede7404882656aeb4364c3964a95db3d
treed232a921d3e2822b615b58df8939e7fbcf12ea31
parent8337c6cbc37c6b2184f41bab3eaff47d5e68012a
vhost: let SET_VRING_ENABLE message depends on protocol feature

But not depend on PROTOCOL_F_MQ feature bit. So that we could use
SET_VRING_ENABLE to sign the backend on stop, even if MQ is disabled.

That's reasonable, since we will have one queue pair at least.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c