Aravindh Puthiyaparambil
2011-Sep-23 16:56 UTC
[Xen-devel] Differentiate between Xen versions at compile time
The men_access interface has changed between 4.1 and unstable. Mainly xc_mem_event_enable/disable() is now xc_mem_access_enable/disable(). Is there a define to check against, to pick up this difference during compile time for a libxc app? Thanks, Aravindh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Olaf Hering
2011-Sep-23 18:15 UTC
Re: [Xen-devel] Differentiate between Xen versions at compile time
On Fri, Sep 23, Aravindh Puthiyaparambil wrote:> The men_access interface has changed between 4.1 and unstable. Mainly > xc_mem_event_enable/disable() is now xc_mem_access_enable/disable(). > Is there a define to check against, to pick up this difference during > compile time for a libxc app?Changeset 23842:483c5f8319ad removes XEN_DOMCTL_MEM_EVENT_OP_ENABLE, and XEN_DOMCTL_MEM_EVENT_OP_ACCESS_ENABLE was added. Olaf _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aravindh Puthiyaparambil
2011-Sep-23 18:53 UTC
Re: [Xen-devel] Differentiate between Xen versions at compile time
On Sep 23, 2011 11:16 AM, "Olaf Hering" <olaf@aepfle.de> wrote:> > On Fri, Sep 23, Aravindh Puthiyaparambil wrote: > > > The men_access interface has changed between 4.1 and unstable. Mainly > > xc_mem_event_enable/disable() is now xc_mem_access_enable/disable(). > > Is there a define to check against, to pick up this difference during > > compile time for a libxc app? > > Changeset 23842:483c5f8319ad removes XEN_DOMCTL_MEM_EVENT_OP_ENABLE, and > XEN_DOMCTL_MEM_EVENT_OP_ACCESS_ENABLE was added.Thanks. I will check for that. Aravindh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel