xen-org/xen-api — pull request #588 by djs55 (2012-05-06 14:35:36+00:00)
Title: CA-76523: on spontaneous VM shutdown, do not reset ha_always_run

The convention is that VM.ha_always_run should be reset when an API
call is received (the API call overrides the current policy) but
an internal VM shutdown is treated as a VM failure, and HA restarts it.

Signed-off-by: David Scott