Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
203ab129
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看板
提交
203ab129
编写于
9月 13, 2012
作者:
G
Guannan Ren
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
doc: update usb redirection filter infomation on formatdomain.html
上级
1c9d485d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
24 addition
and
14 deletion
+24
-14
docs/formatdomain.html.in
docs/formatdomain.html.in
+24
-14
未找到文件。
docs/formatdomain.html.in
浏览文件 @
203ab129
...
...
@@ -2136,6 +2136,10 @@
<
redirdev bus='usb' type='tcp'
>
<
source mode='connect' host='localhost' service='4000'/
>
<
/redirdev
>
<
redirfilter
>
<
usbdev class='0x08' vendor='0x1234' product='0xbeef' version='2.00' allow='yes'/
>
<
usbdev allow='no'/
>
<
/redirfilter
>
<
/devices
>
...
</pre>
...
...
@@ -2152,21 +2156,27 @@
tunnel;
<code>
type='tcp'
</code>
or
<code>
type='spicevmc'
</code>
(which uses the usbredir
channel of a
<a
href=
"#elementsGraphics"
>
SPICE graphics
device
</a>
) are typical.
</dd>
device
</a>
) are typical.The redirdev element has an optional
sub-element
<code>
<
address
>
</code>
which can tie the
device to a particular controller. Further sub-elements,
such as
<code>
<
source
>
</code>
, may be required according
to the given type, although a
<code>
<
target
>
</code>
sub-element
is not required (since the consumer of the character device is
the hypervisor itself,rather than a device visible in the guest).
</dd>
<dt><code>
redirfilter
</code></dt>
<dd>
The
<code>
redirfilter
</code>
element is used for creating the
filter rule to filter out certain devices from redirection.
It uses sub-element
<code>
<
usbdev
>
</code>
to define each filter rule.
<code>
class
</code>
attribute is the USB Class code, for example,
0x08 represents mass storage devices. The USB device can be addressed by
vendor / product id using the
<code>
vendor
</code>
and
<code>
product
</code>
attributes.
<code>
version
</code>
is the bcdDevice value of USB device, such as 1.00, 1.10 and 2.00.
These four attributes are optional and
<code>
-1
</code>
can be used to allow
any value for them.
<code>
allow
</code>
attribute is mandatory,
'yes' means allow, 'no' for deny.
</dd>
</dl>
<p>
The redirdev element has an optional sub-element
<code>
<
address
>
</code>
which can tie the device to a
particular controller.
</p>
<p>
Further sub-elements, such as
<code>
<
source
>
</code>
, may
be required according to the given type, although
a
<code>
<
target
>
</code>
sub-element is not required (since
the consumer of the character device is the hypervisor itself,
rather than a device visible in the guest).
</p>
<h4><a
name=
"elementsSmartcard"
>
Smartcard devices
</a></h4>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录