# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1170410878 0
# Node ID dc32de8329eb52cb7739ad4aff9a0dccaa88499b
# Parent c3c7119a617800e22138b747e3b9fefb3d18654d
Remove VM_power_state value ShuttingDown. This should be indicated with
an in-progress task, when known.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
docs/xen-api/xenapi-datamodel.tex | 1 -
tools/libxen/include/xen_vm_power_state.h | 5 -----
tools/libxen/src/xen_vm_power_state.c | 1 -
tools/python/xen/xend/XendAPIConstants.py | 2 +-
4 files changed, 1 insertion(+), 8 deletions(-)
diff -r c3c7119a6178 -r dc32de8329eb docs/xen-api/xenapi-datamodel.tex
--- a/docs/xen-api/xenapi-datamodel.tex Fri Feb 02 10:03:21 2007 +0000
+++ b/docs/xen-api/xenapi-datamodel.tex Fri Feb 02 10:07:58 2007 +0000
@@ -142,7 +142,6 @@ The following enumeration types are used
\hspace{0.5cm}{\tt Paused} & Paused \\
\hspace{0.5cm}{\tt Running} & Running \\
\hspace{0.5cm}{\tt Suspended} & Suspended \\
-\hspace{0.5cm}{\tt ShuttingDown} & Shutting Down \\
\hspace{0.5cm}{\tt Unknown} & Some other unknown state \\
\hline
\end{longtable}
diff -r c3c7119a6178 -r dc32de8329eb tools/libxen/include/xen_vm_power_state.h
--- a/tools/libxen/include/xen_vm_power_state.h Fri Feb 02 10:03:21 2007 +0000
+++ b/tools/libxen/include/xen_vm_power_state.h Fri Feb 02 10:07:58 2007 +0000
@@ -46,11 +46,6 @@ enum xen_vm_power_state
XEN_VM_POWER_STATE_SUSPENDED,
/**
- * Shutting Down
- */
- XEN_VM_POWER_STATE_SHUTTINGDOWN,
-
- /**
* Some other unknown state
*/
XEN_VM_POWER_STATE_UNKNOWN
diff -r c3c7119a6178 -r dc32de8329eb tools/libxen/src/xen_vm_power_state.c
--- a/tools/libxen/src/xen_vm_power_state.c Fri Feb 02 10:03:21 2007 +0000
+++ b/tools/libxen/src/xen_vm_power_state.c Fri Feb 02 10:07:58 2007 +0000
@@ -32,7 +32,6 @@ static const char *lookup_table[] =
"Paused",
"Running",
"Suspended",
- "ShuttingDown",
"Unknown"
};
diff -r c3c7119a6178 -r dc32de8329eb tools/python/xen/xend/XendAPIConstants.py
--- a/tools/python/xen/xend/XendAPIConstants.py Fri Feb 02 10:03:21 2007 +0000
+++ b/tools/python/xen/xend/XendAPIConstants.py Fri Feb 02 10:07:58 2007 +0000
@@ -24,7 +24,7 @@ XEN_API_VM_POWER_STATE = [
'Paused',
'Running',
'Suspended',
- 'ShuttingDown',
+ 'Halted',
'Unknown'
]
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|