qemu-discuss
[Top][All Lists]
Advanced

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

Re: Initialize RAM from a file and save it to the file


From: Peter Maydell
Subject: Re: Initialize RAM from a file and save it to the file
Date: Tue, 3 Aug 2021 10:55:20 +0100

On Tue, 3 Aug 2021 at 10:23, Hiroko Shimizu <hiroko07168@gmail.com> wrote:
>
> Thank you, guys!
> Generic loader and pmemsave are so useful for me!
>
> But, I have another question.
> I would like to reset a memory region initialized generic loader during qemu 
> running.
> I know the reset APIs such as resettable_cold_reset_fn,
> but I think these APIs can't use to reset the MemoryRegion because it does 
> not have ResettableState.
> Are there any methods to reset MemoryRegion?

No. When you reset the system then the reset method for the
various 'rom blobs' will copy the data specified by the
generic loader back into the guest RAM, but there's no way
to do this at some other time.

-- PMM



reply via email to

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