aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xen-api
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-04-11 21:55:05 +0100
committerEwan Mellor <ewan@xensource.com>2007-04-11 21:55:05 +0100
commit3e1494d7748aa644ad3fd4e9098fe22339dc1ebe (patch)
tree83d65eea71934f013b557c6b43a297c2044bcccf /docs/xen-api
parentf6fe1a09917542899f949f03ee91e2b7e34c384f (diff)
downloadxen-3e1494d7748aa644ad3fd4e9098fe22339dc1ebe.tar.gz
xen-3e1494d7748aa644ad3fd4e9098fe22339dc1ebe.tar.bz2
xen-3e1494d7748aa644ad3fd4e9098fe22339dc1ebe.zip
Added documentation and bindings for host_cpu.features.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'docs/xen-api')
-rw-r--r--docs/xen-api/xenapi-datamodel.tex35
1 files changed, 34 insertions, 1 deletions
diff --git a/docs/xen-api/xenapi-datamodel.tex b/docs/xen-api/xenapi-datamodel.tex
index a631be8a35..353fb1cc12 100644
--- a/docs/xen-api/xenapi-datamodel.tex
+++ b/docs/xen-api/xenapi-datamodel.tex
@@ -6634,7 +6634,8 @@ $\mathit{RO}_\mathit{run}$ & {\tt vendor} & string & the vendor of the physical
$\mathit{RO}_\mathit{run}$ & {\tt speed} & int & the speed of the physical CPU \\
$\mathit{RO}_\mathit{run}$ & {\tt modelname} & string & the model name of the physical CPU \\
$\mathit{RO}_\mathit{run}$ & {\tt stepping} & string & the stepping of the physical CPU \\
-$\mathit{RO}_\mathit{run}$ & {\tt flags} & string & the flags of the physical CPU \\
+$\mathit{RO}_\mathit{run}$ & {\tt flags} & string & the flags of the physical CPU (a decoded version of the features field) \\
+$\mathit{RO}_\mathit{run}$ & {\tt features} & string & the physical CPU feature bitmap \\
$\mathit{RO}_\mathit{run}$ & {\tt utilisation} & float & the current CPU utilisation \\
\hline
\end{longtable}
@@ -6916,6 +6917,38 @@ value of the field
\vspace{0.3cm}
\vspace{0.3cm}
\vspace{0.3cm}
+\subsubsection{RPC name:~get\_features}
+
+{\bf Overview:}
+Get the features field of the given host\_cpu.
+
+ \noindent {\bf Signature:}
+\begin{verbatim} string get_features (session_id s, host_cpu ref self)\end{verbatim}
+
+
+\noindent{\bf Arguments:}
+
+
+\vspace{0.3cm}
+\begin{tabular}{|c|c|p{7cm}|}
+ \hline
+{\bf type} & {\bf name} & {\bf description} \\ \hline
+{\tt host\_cpu ref } & self & reference to the object \\ \hline
+
+\end{tabular}
+
+\vspace{0.3cm}
+
+ \noindent {\bf Return Type:}
+{\tt
+string
+}
+
+
+value of the field
+\vspace{0.3cm}
+\vspace{0.3cm}
+\vspace{0.3cm}
\subsubsection{RPC name:~get\_utilisation}
{\bf Overview:}