[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Persistent Main Memory in QEmu
From: |
Li, Tianyou |
Subject: |
Re: [Qemu-devel] Persistent Main Memory in QEmu |
Date: |
Tue, 19 Apr 2016 02:52:32 +0000 |
Hi Artyom,
Thanks for your pointer! I have tried the -mem-path option, and right now
looking into the code to see if the content of the file will be used during the
guest Linux running next time. Will let you know the result.
Stefan's post is definitely helpful, thanks for letting me know. Could you
please let me know if you have more QEmu memory management documentation about
internals? I have googled around, but more likely to hear from your advice.
Thanks.
Regards,
Tianyou
-----Original Message-----
From: Artyom Tarasenko [mailto:address@hidden
Sent: Tuesday, April 19, 2016 4:20 AM
To: Li, Tianyou <address@hidden>
Cc: address@hidden
Subject: Re: [Qemu-devel] Persistent Main Memory in QEmu
Hi Tianyou,
On Mon, Apr 18, 2016 at 5:50 AM, Li, Tianyou <address@hidden> wrote:
> Currently we are trying to implement below functionalities in QEmu:
> main memory in guest can be logically viewed as persistent and its
> content can be survived through reboot or shutdown/powerup.
>
> I have looked into the QEmu memory management code include memory.c,
> exec.c and other related source, unfortunately I do not have the
> chance to get clue of how to make QEmu main memory persistent. I found
> that pmemsave could dump physical memory of guest, but I could not
> find how to restore the dump file before VM startup to execution.
>
>
>
> Could anyone provide some hints to me? Thanks in advance!
Is the option "-mem-path=/path/to/mem-file" what you are looking for?
Stefan wrote a nice post about QEMU RAM internals:
http://blog.vmsplice.net/2016/01/qemu-internals-how-guest-physical-ram.html
Regards,
Artyom
--
Regards,
Artyom Tarasenko
SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu
- [Qemu-devel] Persistent Main Memory in QEmu, Li, Tianyou, 2016/04/18
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Artyom Tarasenko, 2016/04/18
- Re: [Qemu-devel] Persistent Main Memory in QEmu,
Li, Tianyou <=
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Li, Tianyou, 2016/04/21
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Dr. David Alan Gilbert, 2016/04/21
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Li, Tianyou, 2016/04/21
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Li, Tianyou, 2016/04/22
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Artyom Tarasenko, 2016/04/22
- Re: [Qemu-devel] Persistent Main Memory in QEmu, Li, Tianyou, 2016/04/22
Re: [Qemu-devel] Persistent Main Memory in QEmu, Dr. David Alan Gilbert, 2016/04/20