diff options
author | ewan@localhost.localdomain <ewan@localhost.localdomain> | 2007-04-16 16:12:33 -0400 |
---|---|---|
committer | ewan@localhost.localdomain <ewan@localhost.localdomain> | 2007-04-16 16:12:33 -0400 |
commit | 8426955edc2723b1288f1f7a9e944ebe42e154f2 (patch) | |
tree | ea19463fb02ba88ac1ca66847e756e85bc2ae74a /docs | |
parent | f01fa26a0f4b16f0b296d30463f77f57974996dc (diff) | |
download | xen-8426955edc2723b1288f1f7a9e944ebe42e154f2.tar.gz xen-8426955edc2723b1288f1f7a9e944ebe42e154f2.tar.bz2 xen-8426955edc2723b1288f1f7a9e944ebe42e154f2.zip |
Added documentation and C bindings for VM.migrate call.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/xen-api/xenapi-datamodel.tex | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/xen-api/xenapi-datamodel.tex b/docs/xen-api/xenapi-datamodel.tex index 39055b8d89..78cc917a6e 100644 --- a/docs/xen-api/xenapi-datamodel.tex +++ b/docs/xen-api/xenapi-datamodel.tex @@ -1738,6 +1738,47 @@ void \noindent{\bf Possible Error Codes:} {\tt VM\_BAD\_POWER\_STATE} \vspace{0.6cm} +\subsubsection{RPC name:~migrate} + +{\bf Overview:} +Migrate the VM to another host. This can only be called when the specified +VM is in the Running state. + + \noindent {\bf Signature:} +\begin{verbatim} void migrate (session_id s, VM ref vm, string dest, bool live, (string -> string) Map options)\end{verbatim} + + +\noindent{\bf Arguments:} + + +\vspace{0.3cm} +\begin{tabular}{|c|c|p{7cm}|} + \hline +{\bf type} & {\bf name} & {\bf description} \\ \hline +{\tt VM ref } & vm & The VM \\ \hline + +{\tt string } & dest & The destination host \\ \hline + +{\tt bool } & live & Live migration \\ \hline + +{\tt (string $\rightarrow$ string) Map } & options & Other parameters \\ \hline + +\end{tabular} + +\vspace{0.3cm} + + \noindent {\bf Return Type:} +{\tt +void +} + + + +\vspace{0.3cm} + +\noindent{\bf Possible Error Codes:} {\tt VM\_BAD\_POWER\_STATE} + +\vspace{0.6cm} \subsubsection{RPC name:~get\_all} {\bf Overview:} |