qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] vhost-user-blk: fix bug on device disconnection during initialization
@ 2021-03-24  9:38 Denis Plotnikov
  2021-03-24  9:38 ` [PATCH v2 1/2] vhost-user-blk: use different event handlers on initialization Denis Plotnikov
  2021-03-24  9:38 ` [PATCH v2 2/2] vhost-user-blk: perform immediate cleanup if disconnect " Denis Plotnikov
  0 siblings, 2 replies; 5+ messages in thread
From: Denis Plotnikov @ 2021-03-24  9:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, qemu-block, mst, raphael.norwitz, yc-core, mreitz

v2:
  * split the initial patch into two (Raphael)
  * rename init to realized (Raphael)
  * remove unrelated comment (Raphael)

When the vhost-user-blk device lose the connection to the daemon during
the initialization phase it kills qemu because of the assert in the code.
The series fixes the bug.

0001 is preparation for the fix
0002 fixes the bug, patch description has the full motivation for the series

Denis Plotnikov (2):
  vhost-user-blk: use different event handlers on initialization
  vhost-user-blk: perform immediate cleanup if disconnect on
    initialization

 hw/block/vhost-user-blk.c | 79 ++++++++++++++++++++++++---------------
 1 file changed, 48 insertions(+), 31 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2021-03-24 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  9:38 [PATCH v2 0/2] vhost-user-blk: fix bug on device disconnection during initialization Denis Plotnikov
2021-03-24  9:38 ` [PATCH v2 1/2] vhost-user-blk: use different event handlers on initialization Denis Plotnikov
2021-03-24 18:25   ` Raphael Norwitz
2021-03-24  9:38 ` [PATCH v2 2/2] vhost-user-blk: perform immediate cleanup if disconnect " Denis Plotnikov
2021-03-24 18:44   ` Raphael Norwitz

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).