Re: [Qemu-devel] [PATCH 2 of 5] add can_dma/post_dma for direct IO

Anthony Liguori
2008-12-12T20:10:07Z

Blue Swirl wrote:
> On 12/12/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
>
>> I think we should go back to Fabrice's earliest suggestion here. We should
>> just have a simple map/unmap lock/unlock API for physical memory. That
>> should be the base API IMHO.
>>
>
> Beautiful!
>
>
>> As long the map function goes from guest physical => host virtual, it can
>> work for everything we care about.
>>
>> This is orthogonal to an API dealing with scatter/gather lists and
>> translation to and from them.
>>
>
> So again we tried to solve too many problems at once.
>

Yup.

Regards,

Anthony Liguori

> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>