> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/zh/tenants/dev-passthrough-advanced.md).

# 设备直通高级配置

尽管允许自动生成资源规则（例如，当您选择一个设备并使用 *创建资源* 菜单选项）是最简单且通常推荐的，但在某些情况下，手动创建资源规则或修改自动生成的资源规则可能会很有用。

{% hint style="danger" %}
**重要的是阅读并熟悉** [**PCI 直通风险与注意事项**](/run-the-platform/system-administration/device-pass-overview.md#pci-passthrough-risksprecautions) **在进行直通配置之前。**
{% endhint %}

## 手动创建新的资源规则

1. 导航到 基础设施 > 资源。
2. 点击 **规则** （UI 卡片或左侧菜单中）。
3. 点击 **新建** 左侧菜单中的。
4. 提供一个 **名称** 作为该规则的名称；建议使用具有描述性的名称，这有助于日后的管理。
5. 选择 **资源组** 该资源规则将应用于其。
6. 选择一个特定的 **节点** 或选择 *--无--* 以将该规则应用于所有节点。
7. 选择 **类型** （PCI、USB、SR-IOV 或 NVIDIA vGPU）。
8. 保持默认值设置为 **--无--** 在标注为 *基于 PCI 设备自动创建。*
9. 按需配置设备筛选器；筛选字段会因所选设备类型而异；见下文。（*高级输入* 选项也可用）

{% hint style="success" %}
**关于已安装 PCI 设备的信息，可用于筛选，您可以使用 PCI 设备列表：导航到 基础设施 > 资源 > PCI 设备。要显示更多字段，请在标题区域右键单击，从可显示的完整可用列列表中选择。**
{% endhint %}

## 编辑现有资源规则

1. 导航到关联的 **资源组仪表板** （基础设施 > 资源 > 组 > 双击相应组）。
2. 在 ***规则*** 在该部分中，找到并 **点击所需的资源规则**.
3. 点击 **编辑** 左侧菜单中的。
4. 节点选择和 PCI 筛选器可根据需要修改。（*高级输入* 选项也可用）

该 *高级输入* 该部分允许您手动输入筛选语法，而不是使用筛选输入字段。通常，更可取的是允许系统根据您所选的筛选字段生成语法。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.verge.io/knowledge-base/zh/tenants/dev-passthrough-advanced.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
