qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] libvhost-user: return after vu_panic()
@ 2020-09-21 11:34 Stefan Hajnoczi
  2020-09-21 11:34 ` [PATCH 1/2] libvhost-user: return early on virtqueue errors Stefan Hajnoczi
  2020-09-21 11:34 ` [PATCH 2/2] libvhost-user: return on error in vu_log_queue_fill() Stefan Hajnoczi
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2020-09-21 11:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, Stefan Hajnoczi, Michael S . Tsirkin

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-21 14:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-21 11:34 [PATCH 0/2] libvhost-user: return after vu_panic() Stefan Hajnoczi
2020-09-21 11:34 ` [PATCH 1/2] libvhost-user: return early on virtqueue errors Stefan Hajnoczi
2020-09-21 14:26   ` Philippe Mathieu-Daudé
2020-09-21 11:34 ` [PATCH 2/2] libvhost-user: return on error in vu_log_queue_fill() Stefan Hajnoczi
2020-09-21 14:25   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).