[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen include header file problem
On Tue, 2014-06-17 at 11:41 +0800, goingstudy wrote: > Hi All, > > I am learning Xen, so I add some my own testing codes, > For example, in xen/include/public/xen.h, I add this statement * > #include <xen/list.h> * > but when I compile, it reports "error: xen/list.h: No such file or > directory". > I read other codes, I find the header files in xen/include/xen/ can > be included in that way, > I donot know why, anyone can help me? You haven't really given enough details for us to know what you've done but I'll just note that xen/include/public/ is the public interface which is shared between the Xen hypervisor and the Xen userspace tools, whereas xen/include/xen is internal to the Xen hypervisor only and not accessible to the Xen tools (and should not be). Therefore the xen/include/public headers are supposed to be standalone and not refer to either Xen-internal or userspace-only headers. Since xen/include/public defines the hypercall ABI I think it would be quite unusual to use the list.h macros in it anyway. Ian. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |