On Sun, 13 Sep 2015, Mark Cave-Ayland wrote: > On 11/09/15 19:01, Programmingkid wrote:
> > Mark, do you think it is possible for a QEMU command line option to > > actually load the > > saved OpenBIOS settings from a file and restore them into memory? I'm > > thinking something > > along the lines of -prom-memory <file name>. > >From memory the reason this hasn't been done is because the NVRAM > interface is used across multiple architectures and there hasn't been a > solution devised that would work well enough for all of them. Then again > as the BIOSs involved have continued to develop, it may be now that some > of the issues can now be solved so it never hurts to ask on the -devel list. I'm wondering, why wouldn't it be enough to memmap a nvram file instead of mallocing (or whatever) the memory area?