With this one should be able to connect with
e.g. 'esx://localhost?allow_unsafe=1' to newer ESX hypervisor than supported.
Docs are in [1/4] and [2/4] with esx and vmware changes, respectively.
Reason for the parameter is explained in [3/4].
Tests are in [4/4].
Martin Kletzander (4):
esx: parse new URI param 'allow_unsafe'
vmware: parse new URI param 'allow_unsafe'
vmx: allow version safety bypass with allowUnsafe
tests: vmx support for allowUnsafe
docs/drvesx.html.in | 14 ++++++++++++++
docs/drvvmware.html.in | 35 +++++++++++++++++++++++++++++++++++
src/esx/esx_driver.c | 6 ++++--
src/esx/esx_util.c | 13 ++++++++++++-
src/esx/esx_util.h | 2 ++
src/vmware/vmware_conf.c | 4 ++--
src/vmware/vmware_conf.h | 2 ++
src/vmware/vmware_driver.c | 20 ++++++++++++++++++--
src/vmx/vmx.c | 24 ++++++++++++++++++------
src/vmx/vmx.h | 4 +++-
tests/vmx2xmldata/vmx2xml-unsafe.vmx | 2 ++
tests/vmx2xmldata/vmx2xml-unsafe.xml | 18 ++++++++++++++++++
tests/vmx2xmltest.c | 36 +++++++++++++++++++++++++++++++-----
13 files changed, 161 insertions(+), 19 deletions(-)
create mode 100644 tests/vmx2xmldata/vmx2xml-unsafe.vmx
create mode 100644 tests/vmx2xmldata/vmx2xml-unsafe.xml
--
1.9.2