mbox series

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

Message ID 20200921113420.154378-1-stefanha@redhat.com
Headers show
Series libvhost-user: return after vu_panic() | expand

Message

Stefan Hajnoczi Sept. 21, 2020, 11:34 a.m. UTC
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(-)