[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 :-)


reply via email to

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