Please add support for ESXi version 5 error: Failed to connect to the hypervisor error: internal error Expecting VI API major/minor version '2.5' or '4.0' but found '5.0'
This is now supported in libvirt upstream commit 5759a5ccb5c43b1da2c44bd6b15300c076b551c7 and in libvirt >= 0.9.7.