On Tue, 3 Aug 2021 at 10:23, Hiroko Shimizu <hiroko07...@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