From: Ian Campbell <Ian.Campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Don Slutz <dslutz@verizon.com>,
xen-devel@lists.xen.org,
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [PATCH for 4.5 v7 1/1] Add mmio_hole_size
Date: Tue, 21 Oct 2014 08:57:20 +0100 [thread overview]
Message-ID: <1413878240.20604.21.camel@citrix.com> (raw)
In-Reply-To: <54462B6802000078000408A0@mail.emea.novell.com>
On Tue, 2014-10-21 at 08:46 +0100, Jan Beulich wrote:
> >>> On 21.10.14 at 00:01, <dslutz@verizon.com> wrote:
> > On 10/20/14 10:17, Ian Campbell wrote:
> >> On Mon, 2014-10-13 at 08:51 -0400, Don Slutz wrote:
> >>> --- a/tools/libxl/libxl_types.idl
> >>> +++ b/tools/libxl/libxl_types.idl
> >>> @@ -391,6 +391,7 @@ libxl_domain_build_info = Struct("domain_build_info",[
> >>> ("timeoffset", string),
> >>> ("hpet", libxl_defbool),
> >>> ("vpt_align", libxl_defbool),
> >>> + ("mmio_hole_size", uint64),
> >> Please make this a MemKB at the libxl interface level and convert
> >> internally to whatever hvmloader expects. It seems that a more
> >> conventional name would also have a _memkb suffix. Perhaps
> >> mmio_hole_memkb? (size seems to be implicit to me).
> >>
> >
> > Ok, Jan Beulich had proposed the name with the _size (on 27 Jun 2014),
> > but he
> > did also say "(whether the xl config option should also get renamed I'm not
> > sure - the xl maintainers will know )", (so I am taking this as ok from
> > Jan) I will
> > rename to mmio_hole_memkb here.
>
> My remark was really intended for you to actively inquire about the
> config option name.
Or better yet, look at the existing examples for both libxl API and xl
configuration file names and if you aren't sure then ask.
foo_memkb is conventional in the libxl interface. For the xl.cfg level
the units are typically mbytes and the names unitless (i.e. no _memkb
suffix), often due to xm legacy. The existing xl.cfg names are things
like "memory", "maxmem", "shadow_memory", "videoram". I think mmio_hole
or mmio_hole_size would be a good enough name for xl.cfg.
Ian.
next prev parent reply other threads:[~2014-10-21 7:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 12:51 [PATCH for 4.5 v7 0/1] Add mmio_hole_size (was Add pci_hole_min_size) Don Slutz
2014-10-13 12:51 ` [PATCH for 4.5 v7 1/1] Add mmio_hole_size Don Slutz
2014-10-14 15:56 ` Konrad Rzeszutek Wilk
2014-10-15 16:12 ` Wei Liu
2014-10-21 12:56 ` Don Slutz
2014-10-20 14:10 ` George Dunlap
2014-10-20 14:17 ` Ian Campbell
2014-10-20 22:01 ` Don Slutz
2014-10-21 7:46 ` Jan Beulich
2014-10-21 7:57 ` Ian Campbell [this message]
2014-10-21 12:58 ` Don Slutz
2014-10-21 14:26 ` Konrad Rzeszutek Wilk
2014-10-21 7:52 ` Ian Campbell
2014-10-23 16:57 ` Steve Freitas
2014-10-23 20:39 ` Andrew Cooper
2014-10-23 20:47 ` Steve Freitas
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=1413878240.20604.21.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=dslutz@verizon.com \
--cc=ian.jackson@eu.citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.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.