From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxu80-0007PG-WE for qemu-devel@nongnu.org; Fri, 20 Jun 2014 04:25:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxu7t-0005uZ-0m for qemu-devel@nongnu.org; Fri, 20 Jun 2014 04:24:56 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:36749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxu7s-0005u5-PU for qemu-devel@nongnu.org; Fri, 20 Jun 2014 04:24:48 -0400 Received: by mail-wi0-f178.google.com with SMTP id n15so358357wiw.11 for ; Fri, 20 Jun 2014 01:24:47 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53A3EFCB.5090501@redhat.com> Date: Fri, 20 Jun 2014 10:24:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20140613111703.22108.14322.stgit@bahia.local> <20140613112454.22108.70328.stgit@bahia.local> In-Reply-To: <20140613112454.22108.70328.stgit@bahia.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v8 17/20] virtio-scsi: use virtio wrappers to access headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz , qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Anthony Liguori , Juan Quintela , Rusty Russell , Alexander Graf , "Michael S. Tsirkin" , aneesh.kumar@linux.vnet.ibm.com, Stefan Hajnoczi , Amit Shah , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 13/06/2014 13:24, Greg Kurz ha scritto: > From: Rusty Russell > > Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p. > > Signed-off-by: Rusty Russell > Reviewed-by: Anthony Liguori > [ pass VirtIODevice * to memory accessors, > fix missing tswap32 in virtio_scsi_push_event() by Cédric Le Goater, > Greg Kurz ] > Cc: Cédric Le Goater Be careful that, in the meanwhile, two tswap32s's have been added by commit b0b4ea1 (virtio-scsi: add target swap for VirtIOSCSICtrlTMFReq fields, 2014-06-10): one in virtio_scsi_do_tmf, one in virtio_scsi_handle_ctrl. Paolo