From: Laurent Vivier <Laurent.Vivier@bull.net>
To: qemu-devel@nongnu.org
Cc: Dan Kenigsberg <danken@qumranet.com>
Subject: Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock
Date: Tue, 06 May 2008 10:53:43 +0200 [thread overview]
Message-ID: <1210064023.4311.14.camel@frecb07144> (raw)
In-Reply-To: <50BFF407-EAE4-4BF6-8701-5229CBAB8B5C@adacore.com>
Le mardi 06 mai 2008 à 10:26 +0200, Tristan Gingold a écrit :
> > It's a bios parameter (just like default boot device). It makes
> > sense to allow the bios to let the user customize bios parameters
> > and have that be saved.
> >
> > CMOS is non-volatile in real life so making it non-volatile in QEMU
> > seems like the obvious thing to do.
>
> I fully agree. Platforms have many non-volatile storage (CMOS,
> ethernet eeproms, flashes...). It would
> be nice if qemu were able to making them non-volatile.
>
> I'd plan to work on this, although not soon.
Hervé Poussineau had already done this kind of work for DS1225Y chip.
The content of the NVRAM is saved into the file "nvram".
I think we should have a more generic way to manage this.
I mean:
- a parameter to specify the file
- a default filename per machine (something like "~/.qemu/pc.cmos",
"~/.qemu/sun4m.nvram" or "~/.qemu/ppc_oldworld.nvram")
(and if we create a "~/.qemu" directory, perhaps we could store some
default configurations ... :-P )
There is also the -prom-env parameter to specify a value of the nvram
(for sparc only, but could be generic).
Laurent
--
------------- Laurent.Vivier@bull.net ---------------
"The best way to predict the future is to invent it."
- Alan Kay
next prev parent reply other threads:[~2008-05-06 8:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-27 15:45 [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock Dan Kenigsberg
2008-04-27 16:39 ` Avi Kivity
2008-04-28 6:54 ` Dan Kenigsberg
2008-04-28 7:11 ` Avi Kivity
2008-04-30 12:22 ` Sergey Bychkov
2008-04-27 16:58 ` Anthony Liguori
2008-04-28 8:00 ` Dan Kenigsberg
2008-05-01 8:48 ` Dan Kenigsberg
2008-05-05 20:23 ` Anthony Liguori
2008-05-05 21:13 ` Avi Kivity
2008-05-05 22:38 ` Anthony Liguori
2008-05-06 8:26 ` Tristan Gingold
2008-05-06 8:53 ` Laurent Vivier [this message]
2008-04-27 21:28 ` Jamie Lokier
2008-04-28 7:27 ` Dan Kenigsberg
2008-04-30 12:21 ` Sergey Bychkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1210064023.4311.14.camel@frecb07144 \
--to=laurent.vivier@bull.net \
--cc=danken@qumranet.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).