From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3bsn-0006Po-BO for qemu-devel@nongnu.org; Mon, 20 Aug 2012 19:59:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3bsm-00069H-H9 for qemu-devel@nongnu.org; Mon, 20 Aug 2012 19:59:45 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:35042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3bsm-000695-A1 for qemu-devel@nongnu.org; Mon, 20 Aug 2012 19:59:44 -0400 Received: by pbbjt11 with SMTP id jt11so224362pbb.4 for ; Mon, 20 Aug 2012 16:59:43 -0700 (PDT) From: Ronnie Sahlberg Date: Tue, 21 Aug 2012 09:59:34 +1000 Message-Id: <1345507175-7248-1-git-send-email-ronniesahlberg@gmail.com> Subject: [Qemu-devel] [PATCH] iSCSI: Add support for SG_IO to bdrv_ioctl()/iscsi_ioctl() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini@redhat.com, qemu-devel@nongnu.org Paolo, List Please find a patch that adds emulation of SG_IO to the synchronous function bdrv_ioctl()/iscsi_ioctl(). Previously we have only supported emulation for this ioctl in iSCSI for the asynchronous function iscsi_aio_ioctl() since that is the only place scsi-generic uses SG_IO. By adding support for SG_IO to iscsi_ioctl() this makes scsi-block and scsi-disk work too. Since scsi-block/scsi-disk never worked with iscsi, and only scsi-generic worked, this is not a new regression. So whether this should go in now or wait until post 1.2 is for your disgression. regards ronnie sahlberg