public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Nicholas Sherlock <nick@nicksherlock.com>
Subject: [pve-devel] applied: [PATCH v2 qemu-server] pci: allow override of PCI vendor/device ids
Date: Tue, 25 Jan 2022 11:02:40 +0100	[thread overview]
Message-ID: <3219537a-31d5-0e21-7fa4-ea93cd2cd520@proxmox.com> (raw)
In-Reply-To: <0100017e6f20ab89-937c99e8-c40c-492b-85cf-f349752b86a5-000000@email.amazonses.com>

On 18.01.22 22:38, Nicholas Sherlock wrote:
> From: Nicholas Sherlock <n.sherlock@gmail.com>
> 
> 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 <n.sherlock@gmail.com>
> ---
>  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!




  reply	other threads:[~2022-01-25 10:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <pci-id-override2@nicksherlock.com>
2022-01-18 21:38 ` [pve-devel] [PATCH v2 qemu-server 0/1] " Nicholas Sherlock
2022-01-20 15:48   ` Dominik Csapak
2022-01-20 21:21     ` Nicholas Sherlock
2022-01-18 21:38 ` [pve-devel] [PATCH v2 qemu-server] " Nicholas Sherlock
2022-01-25 10:02   ` Thomas Lamprecht [this message]
2022-01-18 21:38 ` [pve-devel] [PATCH v2 pve-manager] ui: pci passthrough: editor for pci-id overrides Nicholas Sherlock
2022-01-27 14:21   ` [pve-devel] applied: " Thomas Lamprecht
     [not found]   ` <0100017e9be9fa51-bfe8d998-0793-4d1a-8403-26d7b78478ac-000000@email.amazonses.com>
2022-01-28  9:38     ` Nicholas Sherlock

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=3219537a-31d5-0e21-7fa4-ea93cd2cd520@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=nick@nicksherlock.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