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.