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 B02F98A47 for ; Tue, 22 Aug 2023 14:41:33 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8A4C1CCE0 for ; Tue, 22 Aug 2023 14:41:03 +0200 (CEST) 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 for ; Tue, 22 Aug 2023 14:41:02 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id D9C4143326 for ; Tue, 22 Aug 2023 14:41:01 +0200 (CEST) From: Markus Frank To: pve-devel@lists.proxmox.com Date: Tue, 22 Aug 2023 14:40:37 +0200 Message-Id: <20230822124041.119554-1-m.frank@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.304 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 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [qemuconfig.pm, qemuserver.pm, qemu.pm, machine.pm] Subject: [pve-devel] [PATCH qemu-server/docs/manager v6 0/4] vIOMMU-Feature #3784 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, 22 Aug 2023 12:41:33 -0000 qemu-server: v6: * added helper function for machine config validation * replaced old standard option for "pve-qemu-machine" to new property string v5: * set $kvm to 1 if is_native, so that api kvm check works. v4: * added kvm/q35 checks in API * reused pve-qemu-machine v3: * replaced old machine type with property-string with viommu-parameter v2: * moved viommu-parameter inside of machine_fmt and added it the new parameter machine_properties new Config -> machine_properties: viommu=1,etc * check if kvm and q35 are set Markus Frank (2): feature #3784: Parameter for guest vIOMMU & machine as property-string tests: test-cases for new machine-syntax & viommu PVE/API2/Qemu.pm | 11 ++++- PVE/QemuConfig.pm | 3 +- PVE/QemuServer.pm | 62 ++++++++++++++++++++++++++-- PVE/QemuServer/Machine.pm | 6 ++- test/cfg2cmd/q35-viommu-alt.conf | 1 + test/cfg2cmd/q35-viommu-alt.conf.cmd | 23 +++++++++++ test/cfg2cmd/q35-viommu.conf | 1 + test/cfg2cmd/q35-viommu.conf.cmd | 23 +++++++++++ 8 files changed, 122 insertions(+), 8 deletions(-) create mode 100644 test/cfg2cmd/q35-viommu-alt.conf create mode 100644 test/cfg2cmd/q35-viommu-alt.conf.cmd create mode 100644 test/cfg2cmd/q35-viommu.conf create mode 100644 test/cfg2cmd/q35-viommu.conf.cmd docs: v6: * changed capitalization and rephrased the text a bit. v5: * changed Host and VM Requirements Markus Frank (1): add vIOMMU documentation qm-pci-passthrough.adoc | 31 +++++++++++++++++++++++++++++++ qm.adoc | 1 + 2 files changed, 32 insertions(+) manager: v6: * replaced '=== "1"' check with PVE.Parser.parseBoolean * replaced hidden kvm ui with view property * a few style changes v5: * added check if kvm is undefined or null v4: * check if kvm is enabled * added kvm+q35 hint Markus Frank (1): ui: MachineEdit with viommu checkbox www/manager6/qemu/MachineEdit.js | 49 ++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) -- 2.39.2