]> xenbits.xensource.com Git - xcp/xen-api.git/commit
Worked around a race condition in vm-uninstall.
authorMatthias Goergens <matthias.goergens@citrix.com>
Tue, 12 Oct 2010 10:59:05 +0000 (11:59 +0100)
committerMatthias Goergens <matthias.goergens@citrix.com>
Tue, 12 Oct 2010 10:59:05 +0000 (11:59 +0100)
commite22b5cfcb5e06ad101fc7fc668997d8b5b375362
treef10d7f19ef131cfaa6fc4d2800107bd26a24e5bd
parent604624bc028474ee781cb47ffb68bc2fd0b5be14
Worked around a race condition in vm-uninstall.

VM.hard_shutdown now checks for an exception that signals an invalid
power state, i.e. if the VM is already halted.

See the Jira-ticket CA-44120 for more details.

Signed-off-by: Matthias Goergens <matthias.goergens@citrix.com>
ocaml/xapi/xapi_vm.ml