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 3800BA2820 for ; Mon, 19 Jun 2023 12:32:19 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 17F9F281B9 for ; Mon, 19 Jun 2023 12:32:19 +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 ; Mon, 19 Jun 2023 12:32:18 +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 2BDFE46906 for ; Mon, 19 Jun 2023 12:32:18 +0200 (CEST) Message-ID: <937b8419-a70a-ec3f-3212-f19572cd8276@proxmox.com> Date: Mon, 19 Jun 2023 12:32:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: pve-devel@lists.proxmox.com References: <20230118135800.131382-1-m.frank@proxmox.com> From: Markus Frank In-Reply-To: <20230118135800.131382-1-m.frank@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.013 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 NICE_REPLY_A -0.09 Looks like a legit reply (A) 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 - Subject: Re: [pve-devel] [PATCH qemu-server/manager/docs v5 0/5] vIOMMU-Feature 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: Mon, 19 Jun 2023 10:32:19 -0000 ping On 1/18/23 14:57, Markus Frank wrote: > qemu-server: > > 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 (3): > tests: replaced somemachine&someothermachine with q35&pc > fix #3784: Parameter for guest vIOMMU & machine as property-string > added test-cases for new machine-syntax & viommu > > PVE/API2/Qemu.pm | 23 ++++++-- > PVE/QemuConfig.pm | 3 +- > PVE/QemuServer.pm | 52 +++++++++++++++++-- > 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 ++++++++ > .../commit/qemu-server/101.conf | 2 +- > .../commit/qemu-server/102.conf | 2 +- > .../commit/qemu-server/201.conf | 2 +- > .../commit/qemu-server/202.conf | 2 +- > .../commit/qemu-server/203.conf | 2 +- > .../create/qemu-server/102.conf | 2 +- > .../create/qemu-server/104.conf | 4 +- > .../create/qemu-server/106.conf | 2 +- > .../create/qemu-server/301.conf | 2 +- > .../create/qemu-server/302.conf | 2 +- > .../delete/qemu-server/203.conf | 2 +- > .../delete/qemu-server/204.conf | 2 +- > .../prepare/qemu-server/102.conf | 2 +- > .../prepare/qemu-server/104.conf | 2 +- > .../rollback/qemu-server/101.conf | 2 +- > .../rollback/qemu-server/106.conf | 4 +- > .../rollback/qemu-server/201.conf | 2 +- > .../rollback/qemu-server/202.conf | 2 +- > .../rollback/qemu-server/203.conf | 2 +- > .../rollback/qemu-server/204.conf | 2 +- > .../rollback/qemu-server/205.conf | 2 +- > .../rollback/qemu-server/301.conf | 2 +- > .../rollback/qemu-server/302.conf | 2 +- > .../rollback/qemu-server/303.conf | 2 +- > .../commit/qemu-server/101.conf | 2 +- > .../commit/qemu-server/102.conf | 2 +- > .../commit/qemu-server/201.conf | 2 +- > .../commit/qemu-server/202.conf | 2 +- > .../commit/qemu-server/203.conf | 2 +- > .../create/qemu-server/104.conf | 2 +- > .../delete/qemu-server/101.conf | 2 +- > .../delete/qemu-server/203.conf | 2 +- > .../delete/qemu-server/204.conf | 2 +- > .../rollback/qemu-server/101.conf | 2 +- > .../rollback/qemu-server/102.conf | 2 +- > .../rollback/qemu-server/103.conf | 2 +- > .../rollback/qemu-server/104.conf | 2 +- > .../rollback/qemu-server/106.conf | 4 +- > .../rollback/qemu-server/201.conf | 2 +- > .../rollback/qemu-server/202.conf | 2 +- > .../rollback/qemu-server/203.conf | 2 +- > .../rollback/qemu-server/204.conf | 2 +- > .../rollback/qemu-server/205.conf | 2 +- > .../rollback/qemu-server/301.conf | 2 +- > .../rollback/qemu-server/302.conf | 2 +- > .../rollback/qemu-server/303.conf | 2 +- > test/snapshot-test.pm | 2 +- > 55 files changed, 173 insertions(+), 59 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: > > v5: > * changed Host and VM Requirements > > Markus Frank (1): > added vIOMMU documentation > > qm-pci-passthrough.adoc | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > > manager: > > 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 | 58 ++++++++++++++++++++++++++++++++ > 1 file changed, 58 insertions(+) >