Re: [Qemu-devel] [PATCH] usb: Fix (another) bug in usb_packet_map() for IOMMU handling

2012-11-14 Thread Gerd Hoffmann
On 11/14/12 06:23, David Gibson wrote: > Elements in qemu SGLists can cross IOMMU page boundaries. So, in commit > 39c138c8420f51a7da7b35233a8d7400a0b589ac "usb: Fix usb_packet_map() in the > presence of IOMMUs", I changed usb_packet_map() to split up each SGList > element on IOMMU page boundaries

[Qemu-devel] [PATCH] usb: Fix (another) bug in usb_packet_map() for IOMMU handling

2012-11-13 Thread David Gibson
Elements in qemu SGLists can cross IOMMU page boundaries. So, in commit 39c138c8420f51a7da7b35233a8d7400a0b589ac "usb: Fix usb_packet_map() in the presence of IOMMUs", I changed usb_packet_map() to split up each SGList element on IOMMU page boundaries and each resulting piece of qemu's memory spac