qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/5] block: preparatory patches for scatter/gathe


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH v2 0/5] block: preparatory patches for scatter/gather support
Date: Fri, 16 Sep 2011 16:39:59 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]