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 8EEA8942AF for ; Wed, 21 Sep 2022 11:08:29 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 84D1B25B77 for ; Wed, 21 Sep 2022 11:07:59 +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 ; Wed, 21 Sep 2022 11:07:58 +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 2B2EC4030F for ; Wed, 21 Sep 2022 11:07:58 +0200 (CEST) From: Markus Frank To: pve-devel@lists.proxmox.com Date: Wed, 21 Sep 2022 11:07:44 +0200 Message-Id: <20220921090748.47445-1-m.frank@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.059 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH qemu-server 0/3] 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: Wed, 21 Sep 2022 09:08:29 -0000 Patches for enabling virtual IOMMU inside guests for nested pci passthrough. possible-configurations-example: machine: q35 machine: pc machine: q35,viommu=1 machine: type=q35,viommu=1 https://wiki.qemu.org/Features/VT-d 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 | 7 ++- PVE/QemuConfig.pm | 3 +- PVE/QemuServer.pm | 55 ++++++++++++++++++- PVE/QemuServer/Machine.pm | 6 +- test/restore-config-expected/401.conf | 14 +++++ test/restore-config-expected/402.conf | 14 +++++ test/restore-config-input/401.conf | 14 +++++ test/restore-config-input/402.conf | 14 +++++ test/run_qemu_restore_config_tests.pl | 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/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 +- .../create/qemu-server/401.conf | 32 +++++++++++ .../create/qemu-server/402.conf | 53 ++++++++++++++++++ .../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 +- .../create/qemu-server/401.conf | 14 +++++ .../create/qemu-server/402.conf | 33 +++++++++++ .../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 | 8 ++- 60 files changed, 307 insertions(+), 60 deletions(-) create mode 100644 test/restore-config-expected/401.conf create mode 100644 test/restore-config-expected/402.conf create mode 100644 test/restore-config-input/401.conf create mode 100644 test/restore-config-input/402.conf create mode 100644 test/snapshot-expected/create/qemu-server/401.conf create mode 100644 test/snapshot-expected/create/qemu-server/402.conf create mode 100644 test/snapshot-input/create/qemu-server/401.conf create mode 100644 test/snapshot-input/create/qemu-server/402.conf -- 2.30.2