From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4ZaN-0002AV-Fd for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:40:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4ZaM-0000E2-Ci for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:40:11 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:34581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4ZaM-0000Dd-3g for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:40:10 -0400 Received: by wwf10 with SMTP id 10so599797wwf.4 for ; Fri, 16 Sep 2011 07:40:09 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 16 Sep 2011 16:39:59 +0200 Message-Id: <1316184004-8260-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/5] block: preparatory patches for scatter/gather support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org These patches are preparatory work for supporting scatter/gather in the SCSI subsystem. Since there would be no HBA actually using it, I am just posting the cleanups, and the fix for CVE-2011-3346 (buffer overflow in the handling of READ CAPACITY 16) that comes for free with the last patch. v1->v2: made to_dev a bool; fixes in patch 3 Paolo Bonzini (5): dma-helpers: rename is_write to to_dev dma-helpers: allow including from target-independent code dma-helpers: rewrite completion/cancellation scsi-disk: commonize iovec creation between reads and writes scsi-disk: lazily allocate bounce buffer dma-helpers.c | 58 +++++++++++++++++++++++++------------- dma.h | 10 ++++-- hw/ide/core.c | 2 +- hw/ide/macio.c | 2 +- hw/scsi-disk.c | 84 +++++++++++++++++++++++++++++++++---------------------- qemu-common.h | 1 + 6 files changed, 98 insertions(+), 59 deletions(-) -- 1.7.6