qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does reboot clear RAM?


From: Peter Maydell
Subject: Re: Does reboot clear RAM?
Date: Tue, 12 Nov 2019 10:40:50 +0000

On Tue, 12 Nov 2019 at 10:32, Narcis Garcia via <address@hidden> wrote:
>
> I'm now supposing that Qemu is currently assigning RAM to guest with
> host's RAM garbage: A host leak to guest?

No, memory initially created and assigned to the guest
is zeroed[*]. We just don't re-zero it when the guest reboots.

[*] ignoring special cases like when the command line options
specifically request us to back the guest memory with an
on-disk file, in which case you get the contents of the file
you asked for.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]