Sure, that will be great! How about give me a few days so I can cleanup the code and provide a better workaround as patch for you all to review?
Regards, Tianyou -----Original Message----- From: Artyom Tarasenko [mailto:atar4q...@gmail.com] Sent: Friday, April 22, 2016 11:50 PM To: Li, Tianyou <tianyou...@intel.com> Cc: Dr. David Alan Gilbert <dgilb...@redhat.com>; qemu-devel@nongnu.org; Stefan Hajnoczi <stefa...@gmail.com> Subject: Re: [Qemu-devel] Persistent Main Memory in QEmu Hi Tianyou, On Fri, Apr 22, 2016 at 5:35 PM, Li, Tianyou <tianyou...@intel.com> wrote: > I found the mmap was invoked in qemu with option MAP_ANONYMOUS, which will > zero pages. After a simple workaround right now pc.ram region will keep its > content through reboot/shutdown. Can you publish the workaround? I think it would be nice to implement a persistent RAM as a feature, specified by a command line switch. Regards, Artyom -- Regards, Artyom Tarasenko SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu