On 10/22/2015 12:43 PM, Valerio Aimale wrote: > > What if there was a qmp command, say 'pmemmap' then when invoked, > performs the following: > > qmp_pmemmap( [...]) { > > char *template = "/tmp/QEM_mmap_XXXXXXX";
Why not let the caller pass in the file name, rather than opening it ourselves? But the idea of coordinating a file that both caller and qemu mmap to the same guest memory view might indeed have merit. [by the way, it's okay to trim messages to the relevant portions, rather than making readers scroll through lots of quoted content to find the meat] -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature