saltstack/salt — pull request #644 by epoelke (2012-02-05 18:29:49+00:00)
Title: Change kvm_hyper __virtual__ to use libvirt instead of ps

kvm_hyper.py was causing minion to fail crash due to a module cross call before __virtual__ returned. Updated the __virtual__ function to detect if the localsystem is running libvirtd by attempting to connect to libvirtd instead of using ps to look for the process. If connection in successful it returns 'hyper', other returns False.