public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] fix #3490: show more pci devices by default
Date: Wed,  7 Jul 2021 13:41:36 +0200	[thread overview]
Message-ID: <20210707114136.4033819-1-d.csapak@proxmox.com> (raw)

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





             reply	other threads:[~2021-07-07 11:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 11:41 Dominik Csapak [this message]
2021-07-07 16:37 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210707114136.4033819-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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