diff options
| author | Si-Wei Liu | 2022-05-07 04:28:15 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-05-16 22:15:41 +0200 |
| commit | 6f3910b5eee00b8cc959e94659c0d524c482a418 (patch) | |
| tree | 5ac178337825a809709fe8bf1cef07b0ac56432b /python | |
| parent | vhost-vdpa: fix improper cleanup in net_init_vhost_vdpa (diff) | |
| download | qemu-6f3910b5eee00b8cc959e94659c0d524c482a418.tar.gz qemu-6f3910b5eee00b8cc959e94659c0d524c482a418.tar.xz qemu-6f3910b5eee00b8cc959e94659c0d524c482a418.zip | |
vhost-net: fix improper cleanup in vhost_net_start
vhost_net_start() missed a corresponding stop_one() upon error from
vhost_set_vring_enable(). While at it, make the error handling for
err_start more robust. No real issue was found due to this though.
Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <1651890498-24478-5-git-send-email-si-wei.liu@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
