
2014-10-18 23:11 GMT+02:00 Matthias Bolte <matthias.bolte@googlemail.com>:
Store version numbers in this format
version = 1000000 * major + 1000 * minor + micro
produces by virParseVersionString instead of dedicated enums.
Split the complex esxVI_ProductVersion enum into a simpler sxVI_ProductLine enum and a product version number.
Relax API and product version number check to accept anything that is equal or greater than the supported minimum version. VMware ESX went through 3 major version and constantly stayed backward compatible. This commit assumes that this will be true for future versions. --- src/esx/esx_driver.c | 59 +++++--------- src/esx/esx_vi.c | 215 ++++++++++++++++++++++++++------------------------- src/esx/esx_vi.h | 55 +++---------- 3 files changed, 140 insertions(+), 189 deletions(-)
Ignore this one, there is a copy&paste error in it. Here's v2: https://www.redhat.com/archives/libvir-list/2014-October/msg00517.html -- Matthias Bolte http://photron.blogspot.com