Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-21 Thread Ian Campbell
On Wed, 2015-05-20 at 18:37 +0100, Stefano Stabellini wrote: [...] > As a reference, this is a split of the xc_ calls made by QEMU, based on > functionality areas: Very useful, thanks. I've added this to the doc. ___ Xen-devel mailing list Xen-devel@l

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-20 Thread Stefano Stabellini
On Tue, 19 May 2015, Ian Campbell wrote: > > # Symbols used by qemu > > > > $ nm tools/qemu-xen-dir-remote/i386-softmmu/qemu-system-i386 | grep > > \\bU.xc_ > > > > - xc_domain_add_to_physmap > > - xc_domain_bind_pt_pci_irq > > - xc_domain_create > > - xc_domain_destroy > >

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-19 Thread Ian Campbell
On Tue, 2015-05-19 at 09:48 +0100, Jan Beulich wrote: > >>> On 19.05.15 at 10:40, wrote: > > On Mon, 2015-05-18 at 17:06 +0100, Jan Beulich wrote: > >> >>> On 18.05.15 at 17:30, wrote: > >> > `libxenctrl` today exposes many symbols which look to be internal. We > >> > should consider also reducin

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-19 Thread Ian Campbell
On Mon, 2015-05-18 at 16:30 +0100, Ian Campbell wrote: > % Partial `libxenctrl` API/ABI stabilisation I really ought to have CC-d the other tools maintainers on this, done here. Note there are some minor updates in a reply to Andy Cooper too. > % Ian Campbell > % Draft A > > # Introduction >

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-19 Thread Ian Campbell
On Mon, 2015-05-18 at 16:55 +0100, Andrew Cooper wrote: > On 18/05/15 16:30, Ian Campbell wrote: > > # Major External Consumers of `libxenctrl` > > > > * qemu > > * kexec tools > > * in guest tools e.g. users of `libxenstore`, `libvchan`, and by > > extension `grant table` and `event channel` fun

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-19 Thread Jan Beulich
>>> On 19.05.15 at 10:40, wrote: > On Mon, 2015-05-18 at 17:06 +0100, Jan Beulich wrote: >> >>> On 18.05.15 at 17:30, wrote: >> > `libxenctrl` today exposes many symbols which look to be internal. We >> > should consider also reducing that set by using >> > `__attribute__((visibility("hidden")))`

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-19 Thread Ian Campbell
On Mon, 2015-05-18 at 17:06 +0100, Jan Beulich wrote: > >>> On 18.05.15 at 17:30, wrote: > > `libxenctrl` today exposes many symbols which look to be internal. We > > should consider also reducing that set by using > > `__attribute__((visibility("hidden")))`. > > Or a version script? Sure, I'm n

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-18 Thread Andrew Cooper
On 18/05/15 16:30, Ian Campbell wrote: > # Major External Consumers of `libxenctrl` > > * qemu > * kexec tools > * in guest tools e.g. users of `libxenstore`, `libvchan`, and by > extension `grant table` and `event channel` functionality. NB: > `libxenstore` is already `SSU` or `SSS` (XXX?) > >

Re: [Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-18 Thread Jan Beulich
>>> On 18.05.15 at 17:30, wrote: > `libxenctrl` today exposes many symbols which look to be internal. We > should consider also reducing that set by using > `__attribute__((visibility("hidden")))`. Or a version script? Jan ___ Xen-devel mailing list

[Xen-devel] RFC/Proposal: Partial `libxenctrl` API/ABI stabilisation

2015-05-18 Thread Ian Campbell
% Partial `libxenctrl` API/ABI stabilisation % Ian Campbell % Draft A # Introduction The low-level `libxenctrl` library currently has an unstable API and ABI and some of the hypervisor interfaces which it exposes are similarly unstable. However several external projects use some of these interf