virtio-blk: Pass read errors to the guest
commit49c3c8dca7b324d0aed590bb747be2179cc631cc
authorKevin Wolf <kwolf@redhat.com>
Thu, 5 Nov 2009 12:08:59 +0000 (5 13:08 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 12 Nov 2009 17:23:55 +0000 (12 11:23 -0600)
treed49ff71d86facb34ddba1800bb602cc6aa8c5717
parentcb499fb295a91a65f86eccfa95f90da60b027395
virtio-blk: Pass read errors to the guest

We need to signal not only write errors, but also read errors to the guest
driver. This fixes a regression introduced by 869a5c6d.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-blk.c