Skip to contentSkip to conversation

__XEN_LATEST_INTERFACE_VERSION__ is still 0x00040600 in staging

DISCUSSION Razvan Cojocaru 2 participants 3 messages Sep 14, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

I've found this out by accident, since I have some code that does some #ifdef tricks based on __XEN_LATEST_INTERFACE_VERSION__, but while running staging ("Xen version 4.7-unstable") it seems that in xen/xen-compat.h we still have:

#define __XEN_LATEST_INTERFACE_VERSION__ 0x00040600

Is this intended?

Thanks,
Razvan

#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 14.09.15 at 13:53, <[email protected]> wrote:

I've found this out by accident, since I have some code that does some #ifdef tricks based on __XEN_LATEST_INTERFACE_VERSION__, but while running staging ("Xen version 4.7-unstable") it seems that in xen/xen-compat.h we still have:

#define __XEN_LATEST_INTERFACE_VERSION__ 0x00040600

Is this intended?

Was there any incompatible interface change already that would have required bumping the value?

Jan

#2 lore raw
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 14.09.15 at 13:53, <[email protected]> wrote:

I've found this out by accident, since I have some code that does some #ifdef tricks based on __XEN_LATEST_INTERFACE_VERSION__, but while running staging ("Xen version 4.7-unstable") it seems that in xen/xen-compat.h we still have:

Quoted 6 lines
Quoted 3 lines

#define __XEN_LATEST_INTERFACE_VERSION__ 0x00040600

Is this intended?

Was there any incompatible interface change already that would have required bumping the value?

None, at least as far as my code is concerned. It's just that I've already added a new libxc helper function with assorted HV-side code and just assumed that __XEN_LATEST_INTERFACE_VERSION__ had been bumped to 0x00040700, so some of my own code wasn't being compiled as it depended on that value. Of course, there's nothing wrong with the current approach, I was just curious if bumps happen as soon as a new version is out or only when the interface changes.

Thanks,
Razvan