This fixes two bugs in the handling of rerror/werror in virtio-blk. First is a
fix for read requests morphing into write requests after the VM was stopped by
a read error. Second is to consider rerror/werror in places where virtio-blk
used to directly report errors back.

This series should be applied to stable as well.

Kevin Wolf (3):
  virtio_blk: Factor virtio_blk_handle_request out
  virtio-blk: Fix restart after read error
  virtio-blk: Fix error cases which ignored rerror/werror

 hw/virtio-blk.c |   93 +++++++++++++++++++++++++++++++++---------------------
 1 files changed, 57 insertions(+), 36 deletions(-)



Reply via email to