1 From b3d69a0d7dc3945ff134e69593b5fcec447e8389 Mon Sep 17 00:00:00 2001
2 From: Vadim Rozenfeld <vrozenfe@redhat.com>
3 Date: Fri, 13 May 2016 13:03:22 +0200
4 Subject: [PATCH 08/10] iscsi: pass SCSI status back for SG_IO
6 Signed-off-by: Vadim Rozenfeld <vrozenfe@redhat.com>
7 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
10 1 file changed, 1 insertion(+)
12 diff --git a/block/iscsi.c b/block/iscsi.c
13 index 0466c30..1f6a0e5 100644
16 @@ -768,6 +768,7 @@ iscsi_aio_ioctl_cb(struct iscsi_context *iscsi, int status,
17 acb->ioh->driver_status = 0;
18 acb->ioh->host_status = 0;
20 + acb->ioh->status = status;
22 #define SG_ERR_DRIVER_SENSE 0x08