qemu-devel
[Top][All Lists]
Advanced

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

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


From: Jamie Lokier
Subject: Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO
Date: Sun, 14 Dec 2008 17:30:05 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Anthony Liguori wrote:
> Let me clarify this a bit more.  The problem we're trying to address 
> today is the encapsulating knowledge of phys_ram_base.  We want to 
> minimize the amount of code that makes any assumptions about 
> phys_ram_base.  Your current API still accesses phys_ram_base directly 
> in the PCI DMA API.  The only real improvement compared to the current 
> virtio code is that you properly handle MMIO.  This is not just about 
> layout but this also includes the fact that in the future, guest memory 
> could be discontiguous in QEMU (think memory hotplug).

One little extra thing:

What about PCI DMA to another PCI device, not to RAM?

That's not used very often, but it ought to work.

-- Jamie




reply via email to

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