direct-io.hg

changeset 13790:dc32de8329eb

Remove VM_power_state value ShuttingDown. This should be indicated with
an in-progress task, when known.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Feb 02 10:07:58 2007 +0000 (2007-02-02)
parents c3c7119a6178
children c804da44b06c
files docs/xen-api/xenapi-datamodel.tex tools/libxen/include/xen_vm_power_state.h tools/libxen/src/xen_vm_power_state.c tools/python/xen/xend/XendAPIConstants.py
line diff
     1.1 --- a/docs/xen-api/xenapi-datamodel.tex	Fri Feb 02 10:03:21 2007 +0000
     1.2 +++ b/docs/xen-api/xenapi-datamodel.tex	Fri Feb 02 10:07:58 2007 +0000
     1.3 @@ -142,7 +142,6 @@ The following enumeration types are used
     1.4  \hspace{0.5cm}{\tt Paused} & Paused \\
     1.5  \hspace{0.5cm}{\tt Running} & Running \\
     1.6  \hspace{0.5cm}{\tt Suspended} & Suspended \\
     1.7 -\hspace{0.5cm}{\tt ShuttingDown} & Shutting Down \\
     1.8  \hspace{0.5cm}{\tt Unknown} & Some other unknown state \\
     1.9  \hline
    1.10  \end{longtable}
     2.1 --- a/tools/libxen/include/xen_vm_power_state.h	Fri Feb 02 10:03:21 2007 +0000
     2.2 +++ b/tools/libxen/include/xen_vm_power_state.h	Fri Feb 02 10:07:58 2007 +0000
     2.3 @@ -46,11 +46,6 @@ enum xen_vm_power_state
     2.4      XEN_VM_POWER_STATE_SUSPENDED,
     2.5  
     2.6      /**
     2.7 -     * Shutting Down
     2.8 -     */
     2.9 -    XEN_VM_POWER_STATE_SHUTTINGDOWN,
    2.10 -
    2.11 -    /**
    2.12       * Some other unknown state
    2.13       */
    2.14      XEN_VM_POWER_STATE_UNKNOWN
     3.1 --- a/tools/libxen/src/xen_vm_power_state.c	Fri Feb 02 10:03:21 2007 +0000
     3.2 +++ b/tools/libxen/src/xen_vm_power_state.c	Fri Feb 02 10:07:58 2007 +0000
     3.3 @@ -32,7 +32,6 @@ static const char *lookup_table[] =
     3.4      "Paused",
     3.5      "Running",
     3.6      "Suspended",
     3.7 -    "ShuttingDown",
     3.8      "Unknown"
     3.9  };
    3.10  
     4.1 --- a/tools/python/xen/xend/XendAPIConstants.py	Fri Feb 02 10:03:21 2007 +0000
     4.2 +++ b/tools/python/xen/xend/XendAPIConstants.py	Fri Feb 02 10:07:58 2007 +0000
     4.3 @@ -24,7 +24,7 @@ XEN_API_VM_POWER_STATE = [
     4.4      'Paused',
     4.5      'Running',
     4.6      'Suspended',
     4.7 -    'ShuttingDown',
     4.8 +    'Halted',
     4.9      'Unknown'
    4.10  ]
    4.11