From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: Andre Przywara <andre.przywara@amd.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: future plans for libxl?
Date: Thu, 15 Apr 2010 10:35:13 +0100 [thread overview]
Message-ID: <4BC6DDD1.5030608@eu.citrix.com> (raw)
In-Reply-To: <4BC6CCD8.9080509@amd.com>
On 15/04/10 09:22, Andre Przywara wrote:
> OK, what is missing currently is nr_nodes, {hw,virt}_caps and the whole
> bunch of (currently in flux) NUMA information. I think the whole NUMA
> info should be moved into either a topology or a NUMA structure
> (together with libxl_get_... functions). But I'd like to see at least
> nr_nodes and the caps within the physinfo structure. One can debate
> about the nr_nodes fields, though.
Not sure about numa, it seems to be in flux in xen-unstable at the
moment, so i'ld rather leave this interface alone, until it's sorted.
For the caps things, you might want to consider something a bit more
high level than passing a bitfields through. For example you could
actually transform the caps bitfields into an array of decoded values.
that's a bit more friendly to use from a user of libxl PoV.
> What about xc_version(), by the way? This provides a lot of information
> currently shown in xm info, I didn't found any interface for that in
> libxenlight. Is it OK to implement it? Or shall I call xc_version()
> directly from xl.c?
i think it would be nice to have a easy user interface that do a bunch
of xc_version calls and put them in a structure ready to be processed.
> I agree that the whole effort is probably not worth the gains.
> Especially since we have only one library one could update this together
> with the tools. If we came to some kind of stable interface, one could
> use the standard UNIX library versioning scheme.
> The only question is if we can keep pace with the hypervisor
> development. If it introduces new features, hypercalls, extended
> structures do we really want to break compatibility or do we refrain
> from implementing new features?
my take on it is, new features are more important than compat.
if it happens that we *have* to break an interface to implement a new
feature, then it should be done; although probably trying to minimize
the disruption is probably a good idea.
> I suppose that at least in the -unstable tree we don't care about
> compatibility and only keep a stable interface in the -testing trees,
> the libxl version could then be named after the stable hypervisor version.
hmm. I think even in unstable, we would try to keep compat as possible.
not sure what the policy with testing is going to be.
--
Vincent
next prev parent reply other threads:[~2010-04-15 9:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-14 8:12 future plans for libxl? Andre Przywara
2010-04-14 15:48 ` Stefano Stabellini
2010-04-14 15:52 ` Paolo Bonzini
2010-04-14 16:00 ` Stefano Stabellini
2010-04-15 7:21 ` Andre Przywara
2010-04-15 7:26 ` David Markey
2010-04-15 7:48 ` Vincent Hanquez
2010-04-15 13:46 ` Ian Jackson
2010-04-15 7:42 ` Vincent Hanquez
2010-04-15 8:22 ` Andre Przywara
2010-04-15 9:35 ` Vincent Hanquez [this message]
2010-04-15 13:54 ` Ian Jackson
2010-04-15 13:53 ` Ian Jackson
2010-04-15 14:24 ` Vincent Hanquez
2010-04-15 14:25 ` Ian Jackson
2010-04-15 14:28 ` Vincent Hanquez
2010-04-15 9:41 ` Stefano Stabellini
2010-04-15 13:45 ` Ian Jackson
2010-04-16 9:04 ` Xu, Jiajun
2010-04-16 10:46 ` Ian Jackson
[not found] ` <4BC85C17.7070603@amd.com>
2010-04-16 16:25 ` Stefano Stabellini
2010-04-16 16:27 ` Ian Jackson
2010-04-16 16:59 ` Xu, Jiajun
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=4BC6DDD1.5030608@eu.citrix.com \
--to=vincent.hanquez@eu.citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=andre.przywara@amd.com \
--cc=xen-devel@lists.xensource.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 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.