Gerd Hoffmann wrote: > Avi Kivity wrote: > >> We've now switched to allocating guest memory in userspace rather than >> in the kernel. >> > > Hmm, a quick glimpse over kvmctl.h doesn't show an obvious way how to > use that. If I want to back vm memory with a file mapping, how can I do > that? >
kvmctl.h doesn't expose an API for that currently, though is should be fairly trivial to do so. The kernel API is straightforward: take this bunch of memory and present it to a guest at some address. The kernel doesn't care if the memory came from a file mmap() or some other source. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel