commit | 12b8cbac3c8243b3dd485aaebb82547aefa06adb | [log] [tgz] |
---|---|---|
author | Yuanhan Liu <yuanhan.liu@linux.intel.com> | Fri Nov 13 15:24:10 2015 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Nov 16 12:02:54 2015 +0200 |
tree | 605945fd9c05bc795f9ebcedc5313f09ac09b111 | |
parent | 923e2d98ede7404882656aeb4364c3964a95db3d [diff] |
vhost: don't send RESET_OWNER at stop First of all, RESET_OWNER message is sent incorrectly, as it's sent before GET_VRING_BASE. And the reset message would let the later call get nothing correct. And, sending SET_VRING_ENABLE at stop, which has already been done, makes more sense than RESET_OWNER. 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>