mirror of
https://github.com/beclab/Olares
synced 2026-05-24 01:08:23 +00:00
docs: update documentation based on review comments
This commit is contained in:
parent
fdeea2f4a1
commit
c570cf8fc2
2 changed files with 11 additions and 8 deletions
|
|
@ -82,7 +82,7 @@ The **Input-Output Memory Management Unit (IOMMU)** is a hardware feature that a
|
|||
|
||||
### Add VFIO modules
|
||||
|
||||
**VFIO (Virtual Function I/O)** enables a VM to directly access PCI devices such as GPUs.
|
||||
**Virtual Function I/O (VFIO)** enables a VM to directly access PCI devices such as GPUs.
|
||||
|
||||
1. On the PVE host, run the following command to open the `modules` file:
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ To prevent the Proxmox host from using the GPU you plan to pass through, it's be
|
|||
|
||||
Here, the GPU's PCI address is `01:00`, with two functions listed.
|
||||
|
||||
2. Get the IDs of your GPU (`01:00` in this example):
|
||||
2. Get the PCI idenfiers of your GPU:
|
||||
|
||||
```bash
|
||||
lspci -n -s 01:00
|
||||
|
|
@ -224,6 +224,8 @@ This section creates and configures a VM using the Olares ISO image:
|
|||
|
||||
### Bind GPU to the VM
|
||||
|
||||
Follow these steps to bind the GPU to your VM:
|
||||
|
||||
1. In the PVE interface, select your VM and go to **Hardware** > **Add** > **PCI Device**.
|
||||

|
||||
|
||||
|
|
@ -244,7 +246,7 @@ Once the VM is set up, follow these steps to install Olares using the installer
|
|||
|
||||
2. From the boot menu, select **Install Olares to Hard Disk** and press **Enter**.
|
||||
|
||||
3. In the Olares System Installer, select the installation disk.
|
||||
3. In the Olares System Installer interface, select the installation disk.
|
||||
|
||||
1. Review the list of available disks (for example, `sda 200G QEMU HARDDISK`).
|
||||
|
||||
|
|
@ -253,7 +255,7 @@ Once the VM is set up, follow these steps to install Olares using the installer
|
|||
3. When the on-screen warning appears, just type `yes` to continue.
|
||||
|
||||
::: tip Note
|
||||
During installation, warnings related to the NVIDIA graphics driver may appear. If they do, press **Enter** to ignore them.
|
||||
During installation, warnings related to the NVIDIA graphics driver will appear. Press **Enter** to ignore them.
|
||||
:::
|
||||
|
||||
4. Once the installation completes, you'll see the message:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ description: 在 Proxmox VE(PVE)中配置 GPU 直通,并在启用 GPU 加
|
|||
该部署方式当前仍有功能限制,建议仅用于开发或测试环境。
|
||||
:::
|
||||
|
||||
|
||||
## 前提条件
|
||||
|
||||
在开始前,请确保你的设置满足以下要求:
|
||||
|
|
@ -84,7 +83,7 @@ description: 在 Proxmox VE(PVE)中配置 GPU 直通,并在启用 GPU 加
|
|||
|
||||
### 添加 VFIO 模块
|
||||
|
||||
<b>VFIO(Virtual Function I/O)</b>使虚拟机能够直接访问 PCI 设备(如 GPU)。
|
||||
<b>Virtual Function I/O (VFIO)</b>使虚拟机能够直接访问 PCI 设备(如 GPU)。
|
||||
|
||||
1. 在 PVE 主机上,运行以下命令打开`modules`文件:
|
||||
|
||||
|
|
@ -142,7 +141,7 @@ description: 在 Proxmox VE(PVE)中配置 GPU 直通,并在启用 GPU 加
|
|||
|
||||
本例中,GPU 的 PCI 地址为`01:00`,并列出了两个功能。
|
||||
|
||||
2. 获取你的 GPU 的 ID 信息(在本例中为`01:00`):
|
||||
2. 获取你的 GPU 的 PCI 标识符:
|
||||
|
||||
```bash
|
||||
lspci -n -s 01:00
|
||||
|
|
@ -226,6 +225,8 @@ description: 在 Proxmox VE(PVE)中配置 GPU 直通,并在启用 GPU 加
|
|||
|
||||
### 将 GPU 绑定到虚拟机
|
||||
|
||||
按照以下步骤将 GPU 绑定到虚拟机:
|
||||
|
||||
1. 在 PVE 界面中,选择你的虚拟机,然后转到**硬件** > **添加** > **PCI 设备**。
|
||||

|
||||
|
||||
|
|
@ -255,7 +256,7 @@ description: 在 Proxmox VE(PVE)中配置 GPU 直通,并在启用 GPU 加
|
|||
3. 当屏幕上出现警告时,输入`yes`继续即可。
|
||||
|
||||
::: tip 注意
|
||||
安装过程中,可能会出现与 NVIDIA 显卡驱动相关的警告。如果出现此类警告,按**回车键**忽略即可。
|
||||
安装过程中会出现与 NVIDIA 显卡驱动相关的警告。按**回车键**忽略即可。
|
||||
:::
|
||||
|
||||
4. 安装完成后,你会看到以下信息:
|
||||
|
|
|
|||
Loading…
Reference in a new issue