From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 7886E1FF141 for ; Fri, 27 Feb 2026 13:07:06 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 56BF7FCF3; Fri, 27 Feb 2026 13:08:03 +0100 (CET) From: Dominik Csapak To: pve-devel@lists.proxmox.com Subject: [PATCH docs/guest-common/qemu-server v3 0/4] add new pci passthrough specific hookscript phase Date: Fri, 27 Feb 2026 13:06:50 +0100 Message-ID: <20260227120728.2152303-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -1.032 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 1.158 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.306 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.668 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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: 7JEG2YEFW2WTRMVLTRHPAVH6W3P7TPBO X-Message-ID-Hash: 7JEG2YEFW2WTRMVLTRHPAVH6W3P7TPBO 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: 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(-) -- Generated by git-murpp 0.8.1