Message ID | 1464016199-43768-21-git-send-email-pbonzini@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 05916607D3 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 May 2016 15:43:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0EE328236 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 May 2016 15:43:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5BD328239; Mon, 23 May 2016 15:43:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8882F28236 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 May 2016 15:43:22 +0000 (UTC) Received: from localhost ([::1]:48999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1b4s0n-0006In-D5 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 23 May 2016 11:43:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1b4rV3-0002SJ-6C for qemu-devel@nongnu.org; Mon, 23 May 2016 11:10:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1b4rUt-00048n-1w for qemu-devel@nongnu.org; Mon, 23 May 2016 11:10:32 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1b4rUs-00048b-Qn for qemu-devel@nongnu.org; Mon, 23 May 2016 11:10:22 -0400 Received: by mail-wm0-x243.google.com with SMTP id f75so9714868wmf.2 for <qemu-devel@nongnu.org>; Mon, 23 May 2016 08:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=b477+EQMT1/bLw9JvdA1AcRdBnk5c+XO0+0czCpagrI=; b=IMiNysjiLkbNW54WoOgUxyhdHbMv0glBWQemvb//sHj/oyiGW6NwmVbcWVPj3Nxiq1 I9FVzgL9jFXOMHxDVoOr8D+/3BvbIFx3ZlPBAsYhECdvZzlp4NRaQg2mJ0NlJQXARO9N L3W1OqIaZIYZVYpRNcDL0d9zxwFb8LDWhcDZ3MaAfDUXNBM//GwzM66CoIfw0ANvrj6I NLMEJ/7sTZzJpSDEpO2zDgr0Yu5j9eri6D4zTT9riC6Qpya5n6AHw7aztdx+sLQ4MUQ6 woCxYVV4qDtHg4dUGgZ32tiyV7UhyCHk2zyfMsx2Ls/6qgmPFRU2d/CS77GiFs4qi8lp wUJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=b477+EQMT1/bLw9JvdA1AcRdBnk5c+XO0+0czCpagrI=; b=PRCxVzO/N2YupmleCnkSif7GHkJfKjoCEOCLM8/aYgsFjx2yp/5zTiyaZmmg7qupZB DnO0V0GvKfCvmHdSQrgwZ91IuUctSYKX56wqgpuwa7lDzklGNwW2AHuQ4a9Yzw5ldmce pibrBtZylFvT3CbM3CYBJAV4jaIoBa1jk6apsx6va+8i+NvCnjHDHgF/Bmqhq3deyKe4 DtUu6XWGEdovysnQYzS+Kp+riPCRvVYecCmU8xDR4WmywY7BxbXi6eA88uTGXl6BYBa0 b3PJ6E3XtLGOykzxRE0wfVRnbG0nx1VrmoJLkcpX/RSQlmkayI5uuLfx3QIQMvPOWv9m hOJw== X-Gm-Message-State: AOPr4FU8wNZ9920S50oubpm1dVbyAs9P357YTw1/5T0pU0aoI4zRlGmrtPm/nP/b3fCYJg== X-Received: by 10.194.115.39 with SMTP id jl7mr19117675wjb.81.1464016222278; Mon, 23 May 2016 08:10:22 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-252-58.clienti.tiscali.it. [78.12.252.58]) by smtp.gmail.com with ESMTPSA id ac2sm19250359wjc.35.2016.05.23.08.10.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 May 2016 08:10:21 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Mon, 23 May 2016 17:09:55 +0200 Message-Id: <1464016199-43768-21-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1464016199-43768-1-git-send-email-pbonzini@redhat.com> References: <1464016199-43768-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [PULL 20/24] iscsi: pass SCSI status back for SG_IO X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Vadim Rozenfeld <vrozenfe@redhat.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/block/iscsi.c b/block/iscsi.c index 10f3906..2ca8e72 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -761,6 +761,7 @@ iscsi_aio_ioctl_cb(struct iscsi_context *iscsi, int status, acb->ioh->driver_status = 0; acb->ioh->host_status = 0; acb->ioh->resid = 0; + acb->ioh->status = status; #define SG_ERR_DRIVER_SENSE 0x08