]> git.proxmox.com Git - pve-common.git/commit - src/PVE/SysFSTools.pm
SysFSTools: allow longer pci domains
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 28 Feb 2022 13:48:19 +0000 (14:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Mar 2022 18:07:59 +0000 (19:07 +0100)
commit6ac98ad562b8960eafb86fc555e2e5f2d69d457a
tree256158bec04feb0b18038503e60deff42e7fdf3c
parentb863860407336ece5ed3e087de13a754fee99862
SysFSTools: allow longer pci domains

by default, there is only one pci domain ('0000'), but there are systems
where there are more, and they don't need to be exactly 4 characters
long (see [0]), so extend that regex to allow domains 4 characters or
longer

0: https://forum.proxmox.com/threads/problem-with-gpu-passthrough-in-a-virtual-machine.105720/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/SysFSTools.pm