* RE: [Qemu-devel] Saving Sparc NVRAM contents between QEMU sessions
@ 2006-06-08 14:31 Blue Swirl
2006-06-08 14:38 ` Paul Brook
0 siblings, 1 reply; 5+ messages in thread
From: Blue Swirl @ 2006-06-08 14:31 UTC (permalink / raw)
To: Jason.Armistead; +Cc: qemu-devel
>Is there any functionality, existing or planned or patched, to save Sparc
>NVRAM contents between QEMU sessions and reload it when QEMU starts up ?
Currently nvram is used to pass some information from Qemu to BIOS. Some
other mechanism would need to be implemented instead, if nvram contents
can't be used anymore. For example, some memory at fixed location.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Saving Sparc NVRAM contents between QEMU sessions
2006-06-08 14:31 [Qemu-devel] Saving Sparc NVRAM contents between QEMU sessions Blue Swirl
@ 2006-06-08 14:38 ` Paul Brook
2006-06-08 15:47 ` Blue Swirl
0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2006-06-08 14:38 UTC (permalink / raw)
To: qemu-devel
On Thursday 08 June 2006 15:31, Blue Swirl wrote:
> >Is there any functionality, existing or planned or patched, to save Sparc
> >NVRAM contents between QEMU sessions and reload it when QEMU starts up ?
>
> Currently nvram is used to pass some information from Qemu to BIOS. Some
> other mechanism would need to be implemented instead, if nvram contents
> can't be used anymore. For example, some memory at fixed location.
Or just make qemu override certain sections of the nvram. I'm assuming there
is some sort of structure to the nvram contents, or at least particular areas
reserved for/commonly used by the BIOS and the OS.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Saving Sparc NVRAM contents between QEMU sessions
@ 2006-06-08 13:24 Armistead, Jason
2006-06-08 13:40 ` Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Armistead, Jason @ 2006-06-08 13:24 UTC (permalink / raw)
To: 'qemu-devel@nongnu.org'
Hi
Is there any functionality, existing or planned or patched, to save Sparc
NVRAM contents between QEMU sessions and reload it when QEMU starts up ?
I'm working with some of the others on the OpenBIOS list to try and get QEMU
/ OpenBIOS to be able to boot SunOS 4 and Solaris
It'd be nice if we could get QEMU to save the NVRAM to a file between
sessions so that it's possible to either (a) resume where we left off, or
(b) be able to specify different NVRAM configurations according to what we
are trying to accomplish e.g. boot selection, HOSTID setting, etc.
Obviously, writing a save / restore function for NVRAM is not terribly
difficult, but how should it be approached "the QEMU way" ?
Any thoughts appreciated.
Thanks
Jason
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Saving Sparc NVRAM contents between QEMU sessions
2006-06-08 13:24 Armistead, Jason
@ 2006-06-08 13:40 ` Johannes Schindelin
0 siblings, 0 replies; 5+ messages in thread
From: Johannes Schindelin @ 2006-06-08 13:40 UTC (permalink / raw)
To: 'qemu-devel@nongnu.org'
Hi,
On Thu, 8 Jun 2006, Armistead, Jason wrote:
> Is there any functionality, existing or planned or patched, to save Sparc
> NVRAM contents between QEMU sessions and reload it when QEMU starts up ?
AFICT, no.
> Obviously, writing a save / restore function for NVRAM is not terribly
> difficult, but how should it be approached "the QEMU way" ?
I think the spirit of QEmu would dictate to have a command line option
pointing to a file. This file (provided it exists already) would be read
in on startup, and written to, whenever the NVRAM changes (it would be
best, probably to just fopen()/fseek()/fwrite()/fclose() rather than
mmap()ing the file, since MinGW32 either does not support that, or not
very well -- I don't remember which of these).
Ciao,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-08 15:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 14:31 [Qemu-devel] Saving Sparc NVRAM contents between QEMU sessions Blue Swirl
2006-06-08 14:38 ` Paul Brook
2006-06-08 15:47 ` Blue Swirl
-- strict thread matches above, loose matches on Subject: below --
2006-06-08 13:24 Armistead, Jason
2006-06-08 13:40 ` Johannes Schindelin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.