From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id BBAD41FF0B7 for ; Tue, 25 Aug 2026 16:10:17 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 4B6DC21408; Tue, 25 Aug 2026 16:10:17 +0200 (CEST) Message-ID: Date: Tue, 25 Aug 2026 16:10:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: superseded: [PATCH docs/guest-common/qemu-server v3 0/4] add new pci passthrough specific hookscript phase From: Dominik Csapak To: pve-devel@lists.proxmox.com References: <20260227120728.2152303-1-d.csapak@proxmox.com> Content-Language: en-US In-Reply-To: <20260227120728.2152303-1-d.csapak@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1787666982205 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.709 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: XOIUQSWXPLGWSIVUZNVNSK33QDZXU5SN X-Message-ID-Hash: XOIUQSWXPLGWSIVUZNVNSK33QDZXU5SN X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: superseded by v4: https://lore.proxmox.com/pve-devel/20260825135502.3971930-1-d.csapak@proxmox.com/T/#t On 2/27/26 1:07 PM, Dominik Csapak wrote: > this series adds a new phase to the guest hookscript that is called for each > passed throug pci device after it's prepared, but before the qemu process is > started. > > See the qemu-server commit for why that is interesting. > > changes from v2: > * rebase on current master > * prefix hook script env variables with 'PVE_HOOK_' > > pve-guest-common: > > Dominik Csapak (1): > helpers: exec hookscript: add optional parameters > > src/PVE/GuestHelpers.pm | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > > qemu-server: > > Dominik Csapak (2): > pci: factor 'prepare_pci_devices' out to PVE::QemuServer::PCI module > pci: call hookscript for each prepared pci device > > src/PVE/QemuServer.pm | 45 +++++---------------------- > src/PVE/QemuServer/PCI.pm | 65 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 73 insertions(+), 37 deletions(-) > > > pve-docs: > > Dominik Csapak (1): > examples: add new hookscript phase to example hookscript > > examples/guest-example-hookscript.pl | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > > Summary over all repositories: > 4 files changed, 108 insertions(+), 38 deletions(-) >