On Mon, Aug 9, 2010 at 7:15 AM, Mulyadi Santosa
<mulyadi.sant...@gmail.com> wrote:
> On Mon, Aug 9, 2010 at 03:33, Dennis <den...@satanclaus.com> wrote:
>> Hi,
>>
>> I've been looking at the qemu source code but couldn't find anything
>> that would suit my needs.
>> Basically I'm looking for a way to use a file on disk as physical
>> memory inside Qemu.
>
> Once when I did code adventure in Qemu, I conclude Qemu create
> temporary file (possibly using mktemp()) and mmap it, thus creating
> "illusion" file as RAM for guest.
>
> So, I think it's already done. It's just not configurable through
> command parameter

Use -mem-path /path/to/directory.  It's used for hugetlbfs support on
Linux but it should work on a normal filesystem too.

Stefan

Reply via email to