[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2 of 5] add can_dma/post_dma for direct IO
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH 2 of 5] add can_dma/post_dma for direct IO |
Date: |
Fri, 12 Dec 2008 21:00:19 +0200 |
On 12/12/08, Andrea Arcangeli <address@hidden> wrote:
> From: Andrea Arcangeli <address@hidden>
>
> Add can_dma and post_dma methods needed before/after direct IO to guest
> physical memory.
>
> Signed-off-by: Andrea Arcangeli <address@hidden>
> + /* nonlinear range */
> + if (pd_first != pd)
> + return NULL;
In my tests on Sparc32, IOMMU can map a linear DVMA range to several
non-linear physical pages, so this case should be handled correctly.
- [Qemu-devel] [PATCH 0 of 5] dma api v3, Andrea Arcangeli, 2008/12/12
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/12
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/12
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/13
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/13