From: Ian Campbell <Ian.Campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Dario Faggioli <dario.faggioli@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 2 of 2] RFC: libxl: move definition of libxl_domain_config into the IDL
Date: Wed, 25 Apr 2012 09:11:27 +0100 [thread overview]
Message-ID: <1335341487.4881.17.camel@dagon.hellion.org.uk> (raw)
In-Reply-To: <20374.59769.738590.656156@mariner.uk.xensource.com>
On Tue, 2012-04-24 at 18:57 +0100, Ian Jackson wrote:
> Ian Campbell writes ("[Xen-devel] [PATCH 2 of 2] RFC: libxl: move definition of libxl_domain_config into the IDL"):
> > RFC: libxl: move definition of libxl_domain_config into the IDL
> >
> > This requires adding a new Array type to the IDL.
> >
> > DO NOT APPLY. This is 4.3 material.
> >
> > Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
>
> > + idl.Array.len_var contains an idl.Field which is added to the parent
> > + idl.Aggregate and will contain the length of the array.
>
> Why does the Array not automatically invent a "num_<foo>" field ?
> Surely there is no benefit to having non-systematically named (or
> typed) array count fields ?
That would be good but currently the Array type doesn't see the name of
the member in the containing struct:
Struct("thing", [
("disks", Array(libxl_device_disk, "num_disks")),
])
We have a similar problem with the KeyedUnion which similarly ought to
be able to at least default keyvar_name to something.
Ian.
next prev parent reply other threads:[~2012-04-25 8:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 10:36 [PATCH 0 of 2] libxl: add libxl_domain_config_init Ian Campbell
2012-04-04 10:36 ` [PATCH 1 of 2] libxl: provide libxl_domain_config_init Ian Campbell
2012-04-24 17:58 ` Ian Jackson
2012-04-25 8:57 ` Ian Campbell
2012-04-25 10:36 ` Ian Jackson
2012-04-04 10:36 ` [PATCH 2 of 2] RFC: libxl: move definition of libxl_domain_config into the IDL Ian Campbell
2012-04-24 17:57 ` Ian Jackson
2012-04-25 8:11 ` Ian Campbell [this message]
2012-04-25 10:25 ` Ian Jackson
2012-04-25 10:28 ` Ian Campbell
2012-05-18 15:49 ` Dario Faggioli
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=1335341487.4881.17.camel@dagon.hellion.org.uk \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=dario.faggioli@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 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).