Rather than moving the connection to DEAD, we can just ignore further
contexts to the existing command handle, and fail the overall command
with the same errno as the failed callback.

Eric Blake (2):
  states: Track cmd->error as errno, not wire value
  api: Recover from block status callback failure

 generator/generator                 |  5 ++-
 generator/states-reply-simple.c     |  2 +-
 generator/states-reply-structured.c | 61 ++++++++++++++-------------
 interop/dirty-bitmap.c              | 65 +++++++++++++++++++++++------
 lib/aio.c                           |  1 -
 lib/internal.h                      |  2 +-
 6 files changed, 91 insertions(+), 45 deletions(-)

-- 
2.20.1

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to