xen-org/xen-api — pull request #792 by angrygreenfrogs (2012-07-26 18:59:02+00:00)
Title: Allow manual management of VM shutdown with 'auto_poweroff' flag

This change allows systems like Pacemaker to manually manage VM shutdown upon dom0 shutdown.

It adds a new 'auto_poweroff' flag to block automatic VM shutdown within the shutdown.py script.

e.g. to set this on a VM:
xe vm-param-set other-config:auto_poweroff=false uuid=$UUID

This flag is complementary to the existing 'auto_poweron' flag.