[pve-devel] [PATCH manager] fix #3490: show more pci devices by default

Dominik Csapak d.csapak at proxmox.com
Wed Jul 7 13:41:36 CEST 2021


we filtered out devices which belong into the 'Generic System Peripheral'
category, but this can contain actual useful pci devices
users want to pass through, so simply do not filter it by default.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Hardware/PCI.pm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/PVE/API2/Hardware/PCI.pm b/PVE/API2/Hardware/PCI.pm
index b3375ab9..d9c5b37e 100644
--- a/PVE/API2/Hardware/PCI.pm
+++ b/PVE/API2/Hardware/PCI.pm
@@ -10,7 +10,7 @@ use PVE::SysFSTools;
 
 use base qw(PVE::RESTHandler);
 
-my $default_class_blacklist = "05;06;08;0b";
+my $default_class_blacklist = "05;06;0b";
 
 __PACKAGE__->register_method ({
     name => 'pciscan',
@@ -33,8 +33,7 @@ __PACKAGE__->register_method ({
 		optional => 1,
 		description => "A list of blacklisted PCI classes, which will ".
 			       "not be returned. Following are filtered by ".
-			       "default: Memory Controller (05), Bridge (06), ".
-			       "Generic System Peripheral (08) and ".
+			       "default: Memory Controller (05), Bridge (06) and ".
 			       "Processor (0b).",
 	    },
 	    verbose => {
-- 
2.30.2






More information about the pve-devel mailing list