[vbox-dev] Memory initialization
Michal Necasek
michal.necasek at oracle.com
Tue Jul 30 08:10:44 UTC 2019
Can you provide a simple reproduction scenario? What does one have to
do to see this?
A VM reset should clear memory. A caveat is that a given guest OS may
not perform a full reset but only a soft reboot, which does not clear
memory.
- Michal
On 7/28/2019 10:15 PM, b38911 wrote:
> Hello all.
>
> I was suggested to post my question here.
>
> Here my doubt:
>
> I noticed this behavior, which is probably expected: dumping the RAM of
> a guest (with ".pgmphystofile" command) I saw that the memory is not
> initialized between virtual powercycle, like if there was a real
> powerdown. Sometimes, between restarts of the guest (with a shutdown and
> then a restart), I find some memory artifacts belonging to processes
> that shouldn't be there.
> I assume this happens because I'm not restarting the host system, so
> probably the RAM is just remapped, but not initialized. This is a bit
> annoying in some case, especially if you are using the system for
> testing purposes.
>
> Is there a way to force the guest to initialize the allocated RAM to
> zero (or something else), in order to emulate a real powerdown-powerup?
> Thanks for your help.
>
> cips
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
More information about the vbox-dev
mailing list