From: "Daniel P. Berrange" <berrange@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: "Zhang, Yang" <yang.zhang@intel.com>,
"kvm-ia64@vger.kernel.org" <kvm-ia64@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"avi@readhat.com" <avi@readhat.com>,
"Zhang, Xiantao" <xiantao.zhang@intel.com>
Subject: Re: [PATCH] Kvm: Qemu: save nvram
Date: Tue, 2 Dec 2008 13:10:15 +0000 [thread overview]
Message-ID: <20081202131015.GQ25599@redhat.com> (raw)
In-Reply-To: <493531A0.2040501@redhat.com>
On Tue, Dec 02, 2008 at 03:01:20PM +0200, Avi Kivity wrote:
> Daniel P. Berrange wrote:
> >On Tue, Dec 02, 2008 at 10:25:49AM +0800, Zhang, Yang wrote:
> >
> >>This patch to save the nvram. It save the nvram by specify the arg of
> >>-name.And the saved file named by the arg. If do not specify the arg,
> >>it will not save the nvram
> >>
> >
> >I think we might be better off having an explicit command line arg for
> >nvram
> >path rather than hardcoding the directory, because there may well be times
> >where you want to have nvram saved, but don't want to specify -name, and
> >vica-verca.
> >
> > -nvram foo.data
> >
> >could prepend a default directory of $localstatedir/lib/qemu/nvram, where
> >$localstatedir is set from 'configure' script, or
> >
> > -nvram /some/path/foo.data
> >
> >would use the explicit path given.
> >
>
> I prefer current directory if relative path is given. Since we
> encourage running qemu as an unprivileged user, and we don't want a
> world-writable directory, each user will have to provide a private
> storage location.
Fine by me - avoids needing to embed any path in QEMU code at all then
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
next prev parent reply other threads:[~2008-12-02 13:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 2:25 [PATCH] Kvm: Qemu: save nvram Zhang, Yang
2008-12-02 5:27 ` Zhang, Yang
2008-12-02 10:31 ` Daniel P. Berrange
2008-12-02 13:01 ` Avi Kivity
2008-12-02 13:10 ` Daniel P. Berrange [this message]
2008-12-03 6:02 ` Zhang, Xiantao
2008-12-03 6:12 ` Zhang, Yang
2008-12-16 9:21 ` Zhang, Yang
2008-12-17 18:39 ` Charles Duffy
2008-12-18 5:30 ` Zhang, Xiantao
2008-12-18 18:00 ` Charles Duffy
2008-12-19 1:56 ` Zhang, Yang
2008-12-24 5:27 ` Zhang, Yang
2008-12-24 5:34 ` Zhang, Yang
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=20081202131015.GQ25599@redhat.com \
--to=berrange@redhat.com \
--cc=avi@readhat.com \
--cc=avi@redhat.com \
--cc=kvm-ia64@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=xiantao.zhang@intel.com \
--cc=yang.zhang@intel.com \
/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