def _get_hypervisor_version(self):
    'Get hypervisor version.\n\n        :returns: hypervisor version (ex. 12003)\n\n        '
    method = getattr(self._conn, 'getVersion', None)
    if (method is None):
        raise exception.NovaException(_('libvirt version is too old (does not support getVersion)'))
    return method()
Get hypervisor version.

:returns: hypervisor version (ex. 12003)
def _get_hypervisor_version(self):
    'Get hypervisor version.\n\n        :returns: hypervisor version (ex. 12003)\n\n        '
    method = getattr(self._conn, 'getVersion', None)
    if (method is None):
        raise exception.NovaException(_('libvirt version is too old (does not support getVersion)'))
    return method()