[PATCH 0/2] libvhost-user: return after vu_panic()

Stefan Hajnoczi posted 2 patches 3 years, 7 months ago
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
Test checkpatch passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200921113420.154378-1-stefanha@redhat.com
contrib/libvhost-user/libvhost-user.c | 28 +++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
[PATCH 0/2] libvhost-user: return after vu_panic()
Posted by Stefan Hajnoczi 3 years, 7 months ago
vu_panic() is not guaranteed to exit the program. Return errors instead.

Most of the code already does this but I spotted some cases that weren't
handled yet.

Stefan Hajnoczi (2):
  libvhost-user: return early on virtqueue errors
  libvhost-user: return on error in vu_log_queue_fill()

 contrib/libvhost-user/libvhost-user.c | 28 +++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

-- 
2.26.2