From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <0100017ea02fea9d-077b36f9-0309-4931-a57c-f10deba1b77f-000000@amazonses.com> 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 273D76488C for ; Fri, 28 Jan 2022 11:20:58 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 252A32D2F3 for ; Fri, 28 Jan 2022 11:20:58 +0100 (CET) Received: from a8-190.smtp-out.amazonses.com (a8-190.smtp-out.amazonses.com [54.240.8.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 54EF22D2E7 for ; Fri, 28 Jan 2022 11:20:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=qmjwmcbdebflivjf5q7gyd5xjt54qgwu; d=nicksherlock.com; t=1643365002; h=From:To:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=+FOsbOBcunaGZDzSGlxadEBBIk3Eg+n1a8H2dIsslUc=; b=WP6pd6/kjj/rR3195Y+0K917/eNWl4iqEQfr5pjTFK7s32tYY1Amgs1uzbML7Csa uziZlsSeStaKZa7/+ER+Szu54Cwf+mDzo1TpuEAmgljPgEfwOXBnSpD7RtRbktE1jhI caBOKmmUbDqGVHCsJ5poUou9+TZqlBD0a/BkZrKqxMLxhNWPmcbO6HcRaGC7QbliRM/ 9NaDaEQN2I2Ua8ahZo64jdQBfb1e7ljWjk/03IY9Azy4vejGHCxW4O0rKLkqqzKvw2m AGDwrwHGcB1a4WVIwXeGsQn56ZkDrCWLo+SA54BcVW9F6Wqb7QzOoSnNYmYXn04tiu3 Mt0hkBqBEA== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1643365002; h=From:To:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Feedback-ID; bh=+FOsbOBcunaGZDzSGlxadEBBIk3Eg+n1a8H2dIsslUc=; b=J/c6/xzqZ8mrCZs8shvjEC/lC1EWPUn16PePHsOx2X6TWvRb0UfC5VA92kcAqTsL Akybt0si0QZPCEhcr2lXCzdHPt9VFjI+NwUCqh+Z6seWeKdvluIvq9pjWbEVgdn6XPr ViQikcktxL5sH7nAMq+pxHRrcG0HsmdmakDFsQp8= From: Nicholas Sherlock To: pve-devel@lists.proxmox.com Date: Fri, 28 Jan 2022 10:16:42 +0000 Message-ID: <0100017ea02fea9d-077b36f9-0309-4931-a57c-f10deba1b77f-000000@email.amazonses.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Feedback-ID: 1.us-east-1.Zun7nGVgCINWr9mhx6IDxIE7OFgiOsHC8NqBQnS80nA=:AmazonSES X-SES-Outgoing: 2022.01.28-54.240.8.190 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.003 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain HEADER_FROM_DIFFERENT_DOMAINS 0.249 From and EnvelopeFrom 2nd level mail domains are different RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H3 0.001 Good reputation (+3) RCVD_IN_MSPIKE_WL 0.001 Mailspike good senders SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [nicksherlock.com] Subject: [pve-devel] [PATCH docs] pci-passthrough: add section about ID overrides 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: Fri, 28 Jan 2022 10:20:58 -0000 From: Nicholas Sherlock Signed-off-by: Nicholas Sherlock --- qm-pci-passthrough.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc index edaa01f..fa6ba35 100644 --- a/qm-pci-passthrough.adoc +++ b/qm-pci-passthrough.adoc @@ -233,6 +233,24 @@ An example of PCIe passthrough with a GPU set to primary: # qm set VMID -hostpci0 02:00,pcie=on,x-vga=on ---- +.PCI ID overrides + +You can override the PCI vendor ID, device ID, and subsystem IDs that will be +seen by the guest. This is useful if your device is a variant with an ID that +your guest's drivers don't recognize, but you want to force those drivers to be +loaded anyway (e.g. if you know your device shares the same chipset as a +supported variant). + +The available options are `vendor-id`, `device-id`, `sub-vendor-id`, and +`sub-device-id`. You can set any or all of these to override your device's +default IDs. + +For example: + +---- +# qm set VMID -hostpci0 02:00,device-id=0x10f6,sub-vendor-id=0x0000 +---- + Other considerations ^^^^^^^^^^^^^^^^^^^^ -- 2.35.0