From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1JwF-0002JY-7E for qemu-devel@nongnu.org; Wed, 07 Sep 2011 11:21:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1Jw8-000868-LM for qemu-devel@nongnu.org; Wed, 07 Sep 2011 11:21:19 -0400 Received: from mail-gw0-f52.google.com ([74.125.83.52]:47878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1Jw8-00085y-I5 for qemu-devel@nongnu.org; Wed, 07 Sep 2011 11:21:12 -0400 Received: by gwj15 with SMTP id 15so6440629gwj.11 for ; Wed, 07 Sep 2011 08:21:11 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 7 Sep 2011 17:20:57 +0200 Message-Id: <1315408862-15178-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 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. 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 | 47 +++++++++++++++++++------------ dma.h | 8 ++++- hw/scsi-disk.c | 84 +++++++++++++++++++++++++++++++++---------------------- qemu-common.h | 1 + 4 files changed, 86 insertions(+), 54 deletions(-) -- 1.7.6