]> Git Repo - qemu.git/commit - hw/virtio-blk.c
virtio-blk: Fix restart after read error
authorKevin Wolf <[email protected]>
Wed, 27 Jan 2010 12:12:35 +0000 (13:12 +0100)
committerAnthony Liguori <[email protected]>
Fri, 29 Jan 2010 15:53:01 +0000 (09:53 -0600)
commitf1b5286803ee66f73034f1f5e0e1cf14f4415f94
tree9a47d0fc8e4ffbe91edc1e32ad5532e4fffa12c7
parentbc6694d43a68baa864dba7742354a379a3347f33
virtio-blk: Fix restart after read error

Current code assumes that only write requests are ever going to be restarted.
This is wrong since rerror=stop exists. Instead of directly starting writes,
use the same request processing as used for new requests.

Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/virtio-blk.c
This page took 0.025276 seconds and 4 git commands to generate.