]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Commit newly generated docs, after changes from commit 2348cf.
authorCole Robinson <crobinso@redhat.com>
Sun, 26 Jul 2009 21:54:13 +0000 (17:54 -0400)
committerCole Robinson <crobinso@redhat.com>
Sun, 26 Jul 2009 21:56:25 +0000 (17:56 -0400)
docs/formatdomain.html

index 0b21c6bd25a9120235ba2b4785769d2694b52540..5415200342f8b58984061661c1696b94e58cf95d 100644 (file)
@@ -899,12 +899,43 @@ qemu-kvm -net nic,model=? /dev/null
         </h5>
         <p>
       The character device acts as a TCP client connecting to a
-      remote server, or as a server waiting for a client connection.
+      remote server.
     </p>
         <pre>
       ...
       &lt;serial type="tcp"&gt;
         &lt;source mode="connect" host="0.0.0.0" service="2445"/&gt;
+        &lt;protocol type="raw"/&gt;
+        &lt;target port="1"/&gt;
+      &lt;/serial&gt;
+      ...</pre>
+        <p>
+      Or as a TCP server waiting for a client connection.
+    </p>
+        <pre>
+      ...
+      &lt;serial type="tcp"&gt;
+        &lt;source mode="bind" host="127.0.0.1" service="2445"/&gt;
+        &lt;protocol type="raw"/&gt;
+        &lt;target port="1"/&gt;
+      &lt;/serial&gt;
+      ...</pre>
+        <p>
+      Alternatively you can use telnet instead of raw TCP.
+    </p>
+        <p>
+
+    </p>
+        <pre>
+      ...
+      &lt;serial type="tcp"&gt;
+        &lt;source mode="connect" host="0.0.0.0" service="2445"/&gt;
+        &lt;protocol type="telnet"/&gt;
+        &lt;target port="1"/&gt;
+      &lt;/serial&gt;
+      ...
+      &lt;serial type="tcp"&gt;
+        &lt;source mode="bind" host="127.0.0.1" service="2445"/&gt;
         &lt;protocol type="telnet"/&gt;
         &lt;target port="1"/&gt;
       &lt;/serial&gt;