]> git.ipfire.org Git - thirdparty/qemu.git/commit - blockdev.c
scsi-disk: Implement rerror option
authorKevin Wolf <kwolf@redhat.com>
Mon, 25 Oct 2010 12:52:21 +0000 (14:52 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 4 Nov 2010 11:52:16 +0000 (12:52 +0100)
commit5dba48a882c126ccc86db6506cfa6dcca97badab
treedcdab53af51d9e0247ad5174e15c51a2b0d48f21
parent5fc9cfedfa09199e10b5f9b67dcd286bfeae4f7a
scsi-disk: Implement rerror option

This implements the rerror option for SCSI disks.

It also includes minor changes to the write path where the same code is used
that was criticized in the review for the changes to the read path required for
rerror support.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
blockdev.c
hw/scsi-disk.c