Skip to content

YK-Samgo/pve9-dg1-passthrough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pve9-dg1-passthrough

PVE9.1 DG1 直通补丁

内核版本6.17.13-2-pve

DG1 PCIE reset 命令存在问题,需要在内核层补丁拦截发给它的reset

DG1 固件中cfg区存在越界问题,硬编码 cfg_size = PCI_CFG_SPACE_SIZE

确认在pve-kernel commit 11cf9f46a056106a22078afc75612d25fb0e553d 可用

将patch放到pve-kernel/patches/kernel目录,然后重新make即可

已知问题

  1. 启动后似乎会导致对应虚拟机控制台无法启动,报错 VM 100 qmp command 'set_password' failed - Could not set password TASK ERROR: Failed to run vncproxy,不影响别的虚拟机

  2. 如果遇到DG1卡住,需要重启PVE

编译建议

给内核版本添加一个后缀用于和官方版本做区分

  1. 编辑debian/changelog,添加发布信息

  2. 编辑pve-kernel/Makefile:13 KREL_EXTRA=-dg1

About

PVE9 DG1 直通 内核补丁

Resources

License

Stars

Watchers

Forks

Packages