ClusterLabs/resource-agents — pull request #359 by liedekef (2013-11-28 09:44:32+00:00)
Title: support more virsh domstate output formats

Some virsh versions use lower-case for messages, some use upper-case for domstate output. In order to account for this, convert to lowercase before parsing.
Also take into account "failed to connect to hypervisor" next to "failed to reconnect to hypervisor"