From: Marcelo Tosatti <mtosatti@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch 0/2] force -mem-path RAM allocation
Date: Wed, 9 Oct 2013 17:05:17 -0300 [thread overview]
Message-ID: <20131009200517.GB16670@amt.cnet> (raw)
In-Reply-To: <87r4bv7yjl.fsf@blackfin.pond.sub.org>
On Wed, Oct 09, 2013 at 08:23:26AM +0200, Markus Armbruster wrote:
> Marcelo Tosatti <mtosatti@redhat.com> writes:
>
> > On Tue, Oct 08, 2013 at 10:02:26AM +0200, Paolo Bonzini wrote:
> >> Il 08/10/2013 09:32, Markus Armbruster ha scritto:
> >> > We have
> >> >
> >> > -mem-path FILE provide backing storage for guest RAM
> >> > -mem-prealloc preallocate guest memory (use with -mem-path)
> >> >
> >> > PATCH 2/2 adds
> >> >
> >> > -mem-path-force fail if unable to allocate RAM as specified by
> >> > -mem-path
> >> >
> >> > Looks like it's time to consolidate the options related to guest memory
> >> > into a single, QemuOpts-style -memory NAME=VALUE,... What do you guys
> >> > think?
> >>
> >> Yes, we can use "-numa memory" (or "-numa mem") that Wanlong Gao is
> >> adding. We can add path=, preallocate= and force= options there.
> >>
> >> Paolo
> >
> > It would be important for the new option to be backportable
> > independently. Therefore mixing it with -numa is not an option.
> >
> > Also due to backportability supporting a new style of command line
> > for -mem-path is problematic (management must be changed accordingly).
>
> We've converted -FOO ARG options to QemuOpts-style -FOO
> NAME=VALUE,... before. You can use QemuOptsList member implied_opt_name
> to get bare ARG accepted. Works except for ARGs containing '=' or ','.
>
> Management still has to detect whether -FOO is old or new. QMP command
> query-command-line-options should do.
>
> > Can the new option format for memory be created incrementally on
> > top of -mem-path-force? (agree its a good thing, it avoids proliferation
> > of new options).
>
> If you do it on top, it won't avoid proliferation, or am I missing
> something?
Right. But in fact, the new option is not necessary.
So please consider only patch 2 for inclusion.
next prev parent reply other threads:[~2013-10-09 20:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-08 0:41 [Qemu-devel] [patch 0/2] force -mem-path RAM allocation Marcelo Tosatti
2013-10-08 0:41 ` [Qemu-devel] [patch 1/2] qemu: mempath: prefault pages manually Marcelo Tosatti
2013-10-08 8:03 ` Paolo Bonzini
2013-10-08 21:51 ` Marcelo Tosatti
2013-10-09 8:05 ` Paolo Bonzini
2013-10-09 19:41 ` Marcelo Tosatti
2013-10-09 21:26 ` Paolo Bonzini
2013-10-10 2:11 ` Marcelo Tosatti
2013-10-10 6:30 ` Paolo Bonzini
2013-10-28 13:48 ` Paolo Bonzini
2013-10-28 19:21 ` [Qemu-devel] qemu: mempath: prefault pages manually (v3) Marcelo Tosatti
2013-10-28 20:51 ` [Qemu-devel] qemu: mempath: prefault pages manually (v4) Marcelo Tosatti
2013-10-28 16:15 ` [Qemu-devel] [patch 1/2] qemu: mempath: prefault pages manually Peter Maydell
2013-10-08 0:41 ` [Qemu-devel] [patch 2/2] qemu: add -mem-path-force option to force RAM allocation via -mem-path Marcelo Tosatti
2013-10-08 7:32 ` [Qemu-devel] [patch 0/2] force -mem-path RAM allocation Markus Armbruster
2013-10-08 8:02 ` Paolo Bonzini
2013-10-08 22:03 ` Marcelo Tosatti
2013-10-09 6:23 ` Markus Armbruster
2013-10-09 20:05 ` Marcelo Tosatti [this message]
2013-10-09 21:27 ` Paolo Bonzini
2013-10-10 15:17 ` Marcelo Tosatti
2013-10-09 7:43 ` Paolo Bonzini
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=20131009200517.GB16670@amt.cnet \
--to=mtosatti@redhat.com \
--cc=armbru@redhat.com \
--cc=pbonzini@redhat.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 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.