public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] fix #3490: show more pci devices by default
@ 2021-07-07 11:41 Dominik Csapak
  2021-07-07 16:37 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2021-07-07 11:41 UTC (permalink / raw)
  To: pve-devel

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@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH manager] fix #3490: show more pci devices by default
  2021-07-07 11:41 [pve-devel] [PATCH manager] fix #3490: show more pci devices by default Dominik Csapak
@ 2021-07-07 16:37 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-07-07 16:37 UTC (permalink / raw)
  To: Proxmox VE development discussion, Dominik Csapak

On 07.07.21 13:41, Dominik Csapak wrote:
> 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@proxmox.com>
> ---
>  PVE/API2/Hardware/PCI.pm | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-07 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 11:41 [pve-devel] [PATCH manager] fix #3490: show more pci devices by default Dominik Csapak
2021-07-07 16:37 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal