Browse files

Support "idle" as Xen domain status.

Recent libvirt versions return "idle" on "virsh domstate", where previous versions returned "blocked".
  • Loading branch information...
1 parent f33ed5e commit b7ab0eb4cc9380ea044d6302b3258aebde3db694 Florian Haas committed Feb 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 heartbeat/VirtualDomain
View
2 heartbeat/VirtualDomain
@@ -134,7 +134,7 @@ VirtualDomain_Status() {
# no state: domain is migrating (migration target only)
rc=$OCF_NOT_RUNNING
;;
- running|paused|blocked)
+ running|paused|blocked|idle)
rc=$OCF_SUCCESS
;;
esac

0 comments on commit b7ab0eb

Please sign in to comment.