From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 399836346D for ; Tue, 25 Jan 2022 11:03:12 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2592C2BC84 for ; Tue, 25 Jan 2022 11:02:42 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id A9B242BC79 for ; Tue, 25 Jan 2022 11:02:41 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 7CBC744E1A; Tue, 25 Jan 2022 11:02:41 +0100 (CET) Message-ID: <3219537a-31d5-0e21-7fa4-ea93cd2cd520@proxmox.com> Date: Tue, 25 Jan 2022 11:02:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0 Content-Language: en-US To: Proxmox VE development discussion , Nicholas Sherlock References: <0100017e6f20ab89-937c99e8-c40c-492b-85cf-f349752b86a5-000000@email.amazonses.com> From: Thomas Lamprecht In-Reply-To: <0100017e6f20ab89-937c99e8-c40c-492b-85cf-f349752b86a5-000000@email.amazonses.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.057 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: [PATCH v2 qemu-server] pci: allow override of PCI vendor/device ids X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2022 10:03:12 -0000 On 18.01.22 22:38, Nicholas Sherlock wrote: > From: Nicholas Sherlock > > This allows mobile- and vGPUs to be presented to the guest as if they were the original desktop variants of the card. It also allows device-ID variants that guests don't know about to be renamed to match compatible sibling devices the guest does have drivers for (e.g. to remove manufacturer-specific vendor ID variants that prevent the use of a device which would otherwise have a supported chipset) > > e.g. hostpci0: 03:00,vendor-id=0x8086,device-id=0x10f6 > > Signed-off-by: Nicholas Sherlock > --- > PVE/QemuServer/PCI.pm | 31 ++++++++++++++++ > .../q35-linux-hostpci-x-pci-overrides.conf | 16 +++++++++ > ...q35-linux-hostpci-x-pci-overrides.conf.cmd | 35 +++++++++++++++++++ > 3 files changed, 82 insertions(+) > create mode 100644 test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf > create mode 100644 test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd > > applied, with the commit message reformat to fit into 70cc and Dominik's T-b & R-B tags, thanks!