Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
457a10d9
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
457a10d9
编写于
11月 09, 2009
作者:
M
Matthew Booth
提交者:
Daniel Veillard
11月 09, 2009
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add documentation for <channel> domain element
* src/formatdomain.html.in: Add <channel> element documentation
上级
624f0c68
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
37 addition
and
3 deletion
+37
-3
docs/formatdomain.html.in
docs/formatdomain.html.in
+37
-3
未找到文件。
docs/formatdomain.html.in
浏览文件 @
457a10d9
...
@@ -764,12 +764,12 @@ qemu-kvm -net nic,model=? /dev/null
...
@@ -764,12 +764,12 @@ qemu-kvm -net nic,model=? /dev/null
</dl>
</dl>
<h4><a
name=
"elementsConsole"
>
Consoles, serial
&
parall
el devices
</a></h4>
<h4><a
name=
"elementsConsole"
>
Consoles, serial
, parallel
&
chann
el devices
</a></h4>
<p>
<p>
A character device provides a way to interact with the virtual machine.
A character device provides a way to interact with the virtual machine.
Paravirtualized consoles, serial ports
and parallel ports are all
Paravirtualized consoles, serial ports
, parallel ports and channels are
classed as character devices and so represented using the same syntax.
all
classed as character devices and so represented using the same syntax.
</p>
</p>
<pre>
<pre>
...
@@ -786,6 +786,10 @@ qemu-kvm -net nic,model=? /dev/null
...
@@ -786,6 +786,10 @@ qemu-kvm -net nic,model=? /dev/null
<
source path='/dev/pts/4'/
>
<
source path='/dev/pts/4'/
>
<
target port='0'/
>
<
target port='0'/
>
<
/console
>
<
/console
>
<
channel type='unix'
>
<
source mode='bind' path='/tmp/guestfwd'/
>
<
target type='guestfwd' address='10.0.2.1' port='4600'/
>
<
/channel
>
<
/devices
>
<
/devices
>
<
/domain
>
</pre>
<
/domain
>
</pre>
...
@@ -862,6 +866,36 @@ qemu-kvm -net nic,model=? /dev/null
...
@@ -862,6 +866,36 @@ qemu-kvm -net nic,model=? /dev/null
only 1 console.
only 1 console.
</p>
</p>
<h6><a
name=
"elementCharChannel"
>
Channel
</a></h6>
<p>
This represents a private communication channel between the host and the
guest.
</p>
<pre>
...
<
channel type='unix'
>
<
source mode='bind' path='/tmp/guestfwd'/
>
<
target type='guestfwd' address='10.0.2.1' port='4600'/
>
<
/channel
>
...
</pre>
<p>
This can be implemented in a variety of ways. The specific type of
channel is given in the
<code>
type
</code>
attribute of the
<code>
target
</code>
element. Different channel types have different
<code>
target
</code>
attributes.
</p>
<dl>
<dt><code>
guestfwd
</code></dt>
<dd>
TCP traffic sent by the guest to a given IP address and port is
forwarded to the channel device on the host. The
<code>
target
</code>
element must have
<code>
address
</code>
and
<code>
port
</code>
attributes.
<span
class=
"since"
>
Since 0.7.3
</span></dd>
</dl>
<h5><a
name=
"elementsCharHostInterface"
>
Host interface
</a></h5>
<h5><a
name=
"elementsCharHostInterface"
>
Host interface
</a></h5>
<p>
<p>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录