From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: [PATCH] xenctrl: Make the headers C++ friendly Date: Thu, 03 Jul 2014 14:08:54 +0300 Message-ID: <53B539C6.3030201@bitdefender.com> References: <1404318633-23670-1-git-send-email-rcojocaru@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Andrew Cooper , "xen-devel@lists.xen.org" , Tim Deegan , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 07/03/2014 01:56 PM, George Dunlap wrote: > On Wed, Jul 2, 2014 at 5:30 PM, Razvan Cojocaru > wrote: >> Moved an enum definition before the typedef that uses it. > > Presumably you want this because you have an out-of-tree program that > you want to compile against libxc. You do realize that libxc isn't a > stable API, right? That it may change in incompatible ways in every > release? Yes, I've glimpsed into that by following it since Xen 4.1. I am indeed compiling an application against libxc. > I presume you'd rather use a stable API -- in which case maybe we > should ask what it is your application needs, and we can try to come > up with a way to support you. (Perhaps by declaring certain parts of > the libxc interface as "stable", if libxl isn't suitable for some > reason.) Thanks, that's a very gracious offer. Well, here's what nm has to say about what I'm using from the Xen libraries: xc_copy_to_domain_page xc_domain_decrease_reservation_exact xc_domain_get_tsc_info xc_domain_getinfo xc_domain_hvm_getcontext_partial xc_domain_pause xc_domain_populate_physmap_exact xc_domain_set_access_required xc_domain_set_pagefault_info xc_domain_shutdown xc_domain_unpause xc_evtchn_bind_interdomain xc_evtchn_close xc_evtchn_fd xc_evtchn_notify xc_evtchn_open xc_evtchn_pending xc_evtchn_unbind xc_evtchn_unmask xc_get_hvm_param xc_get_mem_access xc_interface_close xc_interface_open xc_map_foreign_batch xc_map_foreign_range xc_mem_access_disable xc_mem_access_enable xc_mem_access_resume xc_set_hvm_param xc_set_mem_access xc_translate_foreign_address xc_vcpu_getcontext xc_vcpu_setcontext xc_version xs_close xs_directory xs_fileno xs_is_domain_introduced xs_open xs_read xs_read_watch xs_unwatch xs_watch Libxl is, unfortunately, too high-level for our needs. Thanks, Razvan Cojocaru