def __virtual__():
    '''
    Only load if Xen configuration and XEN SDK is found.
    '''
    if get_configured_provider() is False:
        return False
    if _get_dependencies() is False:
        return False

    global cache  # pylint: disable=global-statement,invalid-name
    cache = salt.cache.Cache(__opts__)

    return __virtualname__
def __virtual__ ( ) : if get_configured_provider ( ) is False : return False if _get_dependencies ( ) is False : return False global cache cache = salt . cache . Cache ( __opts__ ) return __virtualname__
Only load if Xen configuration and XEN SDK is found.