aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/include
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-25 13:28:25 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-25 13:28:25 +0000
commit961f9b1fc95c51ed8f076782835d148b040d0005 (patch)
treebd91a386df38715f661271725aef02b5ba079113 /tools/libxen/include
parentbb09427c71cd621637565fb906c2114a2a6878cf (diff)
downloadxen-961f9b1fc95c51ed8f076782835d148b040d0005.tar.gz
xen-961f9b1fc95c51ed8f076782835d148b040d0005.tar.bz2
xen-961f9b1fc95c51ed8f076782835d148b040d0005.zip
(Re)introduce notion of crashed VM power state.
The crashed power state is necessary to allow both core-dumping a crashed but preserved VM and renaming/restarting a crashed VM. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Diffstat (limited to 'tools/libxen/include')
-rw-r--r--tools/libxen/include/xen/api/xen_vm_power_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxen/include/xen/api/xen_vm_power_state.h b/tools/libxen/include/xen/api/xen_vm_power_state.h
index 649f49a7f1..b9b2acd617 100644
--- a/tools/libxen/include/xen/api/xen_vm_power_state.h
+++ b/tools/libxen/include/xen/api/xen_vm_power_state.h
@@ -46,6 +46,11 @@ enum xen_vm_power_state
XEN_VM_POWER_STATE_SUSPENDED,
/**
+ * Crashed
+ */
+ XEN_VM_POWER_STATE_CRASHED,
+
+ /**
* Some other unknown state
*/
XEN_VM_POWER_STATE_UNKNOWN