[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO |
Date: |
Fri, 12 Dec 2008 21:25:58 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081119) |
Andrea Arcangeli wrote:
> On Fri, Dec 12, 2008 at 01:15:13PM -0600, Anthony Liguori wrote:
>> 1) You attempt to map a physical address. This effectively is a lock or
>> pin operation.
>
> lock or pin for what? There's nothing to pin or lock here.
Oh, there is in Xen context (i.e. qemu in dom0 handles device emulation
for xen domU guests). You can ask Xen to map the grant (or guest pfn)
here. I think doing so will kill the need for the mapcache patches
xensource carries in the xenified qemu tree.
>> 4) You unmap or unlock that memory region. The virtual address is now no
>> longer valid.
>
> Again not needed.
Likewise useful for Xen.
cheers,
Gerd
- [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
- 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
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/14
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/14
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/14
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/14
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Paul Brook, 2008/12/14