On 04/26, Dave Anderson wrote:
> No, just a regular file, qemu creates it and does mmap(MAP_SHARED) on it.
>
> > that constantly contains the
> > current contents of the guest's physical memory?
>
> Yes,
>
> > Is it like /dev/mem?
>
> yes, but more like /dev/crash.
>
> Oleg.
Unfortunately I am completely unfamiliar with qemu option specifications.
I too do not know much about qemu options,
So if I were to log into the guest machine, does a /tmp/MEM file
exist?
No,
Or does it exist on the host machine?
Yes, it is just the normal file on the host which runs qemu.
Well, "normal" is not neccessarily true in that you can use, for example,
mem-path=/path/to/hugetlb-mount/...
but this doesn't matter. It is still the "regular" file mmaped by qemu, the
host can read it to acess the guest's physical memory.
Oleg.