summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorStefan Hajnoczi2020-09-21 13:34:19 +0200
committerMichael S. Tsirkin2020-09-29 09:06:12 +0200
commitfd40901c82bb0d2946a9523ed8a5a7d0e2867fb6 (patch)
tree91d98b8d66e93839c5e79c0367e8bf6c36508896 /python
parenthw: virtio-pmem: detach the element fromt the virtqueue when error occurs (diff)
downloadqemu-fd40901c82bb0d2946a9523ed8a5a7d0e2867fb6.tar.gz
qemu-fd40901c82bb0d2946a9523ed8a5a7d0e2867fb6.tar.xz
qemu-fd40901c82bb0d2946a9523ed8a5a7d0e2867fb6.zip
libvhost-user: return early on virtqueue errors
vu_panic() is not guaranteed to exit the program. Return early when errors are encountered. Note that libvhost-user does not have an "unmap" operation for mapped descriptors. Therefore it is correct to return without explicit cleanup. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200921113420.154378-2-stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.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