[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 02/13] Implement cpu_physical_memory_set()
From: |
Benjamin Herrenschmidt |
Subject: |
Re: [Qemu-devel] [PATCH 02/13] Implement cpu_physical_memory_set() |
Date: |
Thu, 21 Jun 2012 12:50:10 +1000 |
On Thu, 2012-06-21 at 11:45 +1000, David Gibson wrote:
> > Why should this be in the core API? Shouldn't this be a helper on
> > top of the DMA API?
>
> Well, I was hoping to avoid having to allocate a temporary buffer of
> zeroes, which is necessary to do this in terms of the existing
> cpu_physical_memory_write() api.
and which I ended up doing anyway in the latest patch following previous
reviews where people barfed at having a duplication of the code to
access the guest memory :-)
Cheers,
Ben.
- [Qemu-devel] [PATCH 11/13] iommu: Allow PCI to use IOMMU infrastructure, (continued)
- [Qemu-devel] [PATCH 11/13] iommu: Allow PCI to use IOMMU infrastructure, Benjamin Herrenschmidt, 2012/06/19
- [Qemu-devel] [PATCH 13/13] Add a memory barrier to DMA functions, Benjamin Herrenschmidt, 2012/06/19
- [Qemu-devel] [PATCH 12/13] pseries: Implement IOMMU and DMA for PAPR PCI devices, Benjamin Herrenschmidt, 2012/06/19
- [Qemu-devel] [PATCH 10/13] pseries: Convert sPAPR TCEs to use generic IOMMU infrastructure, Benjamin Herrenschmidt, 2012/06/19
- [Qemu-devel] [PATCH 02/13] Implement cpu_physical_memory_set(), Benjamin Herrenschmidt, 2012/06/19
- Re: [Qemu-devel] [PATCH 02/13] Implement cpu_physical_memory_set(), Benjamin Herrenschmidt, 2012/06/21
[Qemu-devel] [PATCH 01/13] Better support for dma_addr_t variables, Benjamin Herrenschmidt, 2012/06/19
Re: [Qemu-devel] [PATCH 01/13] Better support for dma_addr_t variables, Benjamin Herrenschmidt, 2012/06/21
Re: [Qemu-devel] [PATCH 00/13] iommu series, Anthony Liguori, 2012/06/20