Hi,
attached patch updates the console docs a bit. O.k. to apply?
Cheers,
-- Guido
>From 204361a3f015601e389f9ab83a2590906cb44581 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Guido=20G=C3=BCnther?= <[email protected]>
Date: Thu, 23 Jul 2009 09:39:22 +0200
Subject: [PATCH] document tcp listen and raw wire option
---
docs/formatdomain.html.in | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 48d689d..f317652 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -843,13 +843,45 @@ qemu-kvm -net nic,model=? /dev/null
<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>
...
<serial type="tcp">
<source mode="connect" host="0.0.0.0" service="2445"/>
+ <wiremode type="raw"/>
+ <target port="1"/>
+ </serial>
+ ...</pre>
+
+ <p>
+ Or as a TCP server waiting for a client connection.
+ </p>
+
+ <pre>
+ ...
+ <serial type="tcp">
+ <source mode="bind" host="127.0.0.1" service="2445"/>
+ <wiremode type="raw"/>
+ <target port="1"/>
+ </serial>
+ ...</pre>
+
+ <p>
+ Alternatively you can use telnet instead of raw TCP.
+ <p>
+
+ <pre>
+ ...
+ <serial type="tcp">
+ <source mode="connect" host="0.0.0.0" service="2445"/>
+ <wiremode type="telnet"/>
+ <target port="1"/>
+ </serial>
+ ...
+ <serial type="tcp">
+ <source mode="bind" host="127.0.0.1" service="2445"/>
<wiremode type="telnet"/>
<target port="1"/>
</serial>
--
1.6.3.3
--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list