From: Ian Jackson Subject: Re: [xen-devel] [PATCH] libxl: fix compile error of libvirt Date: Tue, 21 Feb 2012 18:02:39 +0000 Message-ID: <20291.56383.499378.463797@mariner.uk.xensource.com> References: <4F427C2B0200003000000BDD@novprvlin0050.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F427C2B0200003000000BDD@novprvlin0050.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bamvor Jian Zhang Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Bamvor Jian Zhang writes ("[Xen-devel] [xen-devel] [PATCH] libxl: fix compile error of libvirt"): > > a, libxl_event.h is included in libxl.h. So, the former one also need to be > installed. Well spotted. However, I'm afraid your mail has been very badly mangled by whatever program you used to send it. For this patch I reconstructed the change by hand and have committed it. > b, define __XEN_TOOLS__ in libxl.h: > the head file "xen/sysctl.h" need check this macro. I don't think this is correct. > It is the same way used by the xen libxc public headers(tools/libxc/xenctrl.h > and tools/libxc/xenctrlosdep.h). Users of libxl should not be using libxc directly and therefore should not be including xenctrl.h. Note that the API for libxl has changed in xen-unstable.hg compared to 4.1, and further changes are forthcoming. So there will have to be changes in libvirt. Thanks, Ian.