vhost: send SET_VRING_ENABLE at start/stop
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 11 Nov 2015 13:24:41 +0000 (21:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 12 Nov 2015 13:49:33 +0000 (15:49 +0200)
commit3a12f32229a046f4d4ab0a3a52fb01d2d5a1ab76
treecd57a81d24fafd2e3dfd6068759fa1068db9152a
parent60915dc4691768c4dc62458bb3e16c843fab091d
vhost: send SET_VRING_ENABLE at start/stop

Send SET_VRING_ENABLE at start/stop, to give the backend
an explicit sign of our state.

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.c