commit 1676a4ffd9c800d14fea0f2616ec3e67938b1c2f
Author: W. David Ashley <w.david.ashley(a)gmail.com>
Date: Fri Jul 3 20:55:34 2015 -0500
Domain Chapter
Migration section
- Oops, forgot to save it in the last commit
en-US/Guest_Domains.xml | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/en-US/Guest_Domains.xml b/en-US/Guest_Domains.xml
index e1c66eb..ee411e9 100644
--- a/en-US/Guest_Domains.xml
+++ b/en-US/Guest_Domains.xml
@@ -657,9 +657,29 @@
complete successfully, storage needs to be shared between the source and
target hypervisors.
</para>
<para>
- TODO: Add 2 cold examples, 1 live example.
+ To migrate a guest domain to a connection that is already open use the
<literal>migrate</literal>
+ method. An example follows:
</para>
-
+ <example>
+ <title>Migrate a Domain to an Open Connection</title>
+ <programlisting language="Python"><xi:include
href="extras/Domains-Example-22.py" parse="text"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ <para>
+ To migrate a guest domain to a URI use the
<literal>migrateToURI</literal>
+ method. An example follows:
+ </para>
+ <example>
+ <title>Migrate a Domain to an Open Connection</title>
+ <programlisting language="Python"><xi:include
href="extras/Domains-Example-23.py" parse="text"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ <para>
+ To migrate a live guest domain to a URI use the
<literal>migrate</literal> or the
+ <literal>migrateToURI</literal> with the
<literal>VIR_MIGRATE_LIVE</literal>. An example follows:
+ </para>
+ <example>
+ <title>Migrate a Domain to an Open Connection</title>
+ <programlisting language="Python"><xi:include
href="extras/Domains-Example-24.py" parse="text"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
</section>
<section
id="libvirt_application_development_guide_using_python-Guest_Domains-Lifecycle-Autostart">