Avi Kivity wrote: > 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. Something like this? (compiles, not tested yet). cheers, Gerd