From: Jiri Denemark Date: Thu, 6 Sep 2012 20:17:01 +0000 (+0200) Subject: conf: Add on_lockfailure event configuration X-Git-Tag: v1.0.0-rc1~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76f5bcabe611d90cca202fe365340a753f8cd0c3;p=thirdparty%2Flibvirt.git conf: Add on_lockfailure event configuration Using this new element, one can configure an action that should be performed when resource locks are lost. --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index f6f24b1c28..71b2f76a52 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -919,6 +919,7 @@ <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> + <on_lockfailure>poweroff</on_lockfailure> ...

@@ -974,6 +975,27 @@ domain will be restarted with the same configuration +

+ The on_lockfailure element (since + 0.10.3) may be used to configure what action should be + taken when a lock manager loses resource locks. The following + actions are recognized by libvirt, although not all of them need + to be supported by individual lock managers. When no action is + specified, each lock manager will take its default action. +

+
+
poweroff
+
The domain will be forcefully powered off.
+
restart
+
The domain will be powered off and started up again to + reacquire its locks.
+
pause
+
The domain will be paused so that it can be manually resumed + when lock issues are solved.
+
ignore
+
Keep the domain running as if nothing happened.
+
+

Power Management

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index ab8d4a11f7..2df2efa701 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -2246,6 +2246,11 @@ + + + + + + + + poweroff + restart + pause + ignore + +