Re: [libvirt] Memory access API

2013-07-03 Thread Daniel P. Berrange
On Wed, Jun 19, 2013 at 04:29:48AM +0200, Marek Marczykowski-Górecki wrote: > Hi, > > Is there any zero-copy VM memory access API in libvirt? I see only > virDomainMemoryPeek function, which copy some memory from VM and do not permit > VM memory modifications. > What I'm looking for is xen xc_map_

[libvirt] Memory access API

2013-06-18 Thread Marek Marczykowski-Górecki
Hi, Is there any zero-copy VM memory access API in libvirt? I see only virDomainMemoryPeek function, which copy some memory from VM and do not permit VM memory modifications. What I'm looking for is xen xc_map_foreign_pages or xc_gnttab_map_domain_grant_refs equivalent/wrapper. IOW map memory page