I'm adding support for nvram variables to Qemu (see attached patches),
qemu-system-sparc -prom-env "boot-device=zorg"
But this only works if the variable does not have any default value in
nvram.fs. I'd like to change this so that the nvram values override
defaults, but how?
Just an idea, off the top of my head, without having gone too
into the matter.
Have a run-time file in which Qemu keeps its current NVRAM contents.
name of the file a variable, with a default if not specified. If the
file does not exist, it
gets created with its variables' initial values set to their default
settings. It is, in effect,
Qemu's virtual emulation of NVRAM; it gets updated in the course of the
run as values get changed, and remains available for subsequent runs.
qemu-system-<ARCH> -env-emu nvfile=mynvram.xxx
I expect that this will give greater continuity, flexibility and access
individual variables' values from the command-line, and will obviate any
keep track of changes across the course of a series of runs.
(Please note that I'm "out of the game" at present, but still available
for an occasional
shout-out "from the stands". Hello to all my friends and acquaintances!)
David L. Paktor DLPaktor(a)netscape.net