mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
document tcp listen and raw wire option
This commit is contained in:
parent
484640eaf6
commit
2348cf20e7
@ -858,13 +858,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"/>
|
||||
<protocol 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"/>
|
||||
<protocol 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"/>
|
||||
<protocol type="telnet"/>
|
||||
<target port="1"/>
|
||||
</serial>
|
||||
...
|
||||
<serial type="tcp">
|
||||
<source mode="bind" host="127.0.0.1" service="2445"/>
|
||||
<protocol type="telnet"/>
|
||||
<target port="1"/>
|
||||
</serial>
|
||||
|
Loading…
x
Reference in New Issue
Block a user