[pve-devel] applied: Re: [PATCH qemu-server v9 1/3] fix #3784: config: Parameter for guest vIOMMU + test-cases
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Apr 11 16:44:23 CEST 2024
On 11/04/2024 12:48, Markus Frank wrote:
> vIOMMU enables the option to passthrough pci devices to L2 VMs
> in L1 VMs via Nested Virtualisation and adds an extra isolation.
>
> Uses the new property-string from the "config: define machine schema
> as property-string"-commit to add the viommu option to the machine
> parameter.
>
> Currently there are two vIOMMU implementation in QEMU to choose:
> intel or virtio
>
> Virtio-iommu is more recent but less used in production than intel-iommu.
>
> The assert_valid_machine_property function prevents using intel-iommu with
> i440fx.
>
> Signed-off-by: Markus Frank <m.frank at proxmox.com>
> ---
> PVE/API2/Qemu.pm | 2 ++
> PVE/QemuServer.pm | 12 +++++++++++
> PVE/QemuServer/Machine.pm | 17 ++++++++++++++-
> test/cfg2cmd/i440fx-viommu-intel.conf | 2 ++
> test/cfg2cmd/i440fx-viommu-virtio.conf | 1 +
> test/cfg2cmd/i440fx-viommu-virtio.conf.cmd | 25 ++++++++++++++++++++++
> test/cfg2cmd/q35-viommu-intel.conf | 1 +
> test/cfg2cmd/q35-viommu-intel.conf.cmd | 23 ++++++++++++++++++++
> test/cfg2cmd/q35-viommu-virtio.conf | 1 +
> test/cfg2cmd/q35-viommu-virtio.conf.cmd | 23 ++++++++++++++++++++
> 10 files changed, 106 insertions(+), 1 deletion(-)
> create mode 100644 test/cfg2cmd/i440fx-viommu-intel.conf
> create mode 100644 test/cfg2cmd/i440fx-viommu-virtio.conf
> create mode 100644 test/cfg2cmd/i440fx-viommu-virtio.conf.cmd
> create mode 100644 test/cfg2cmd/q35-viommu-intel.conf
> create mode 100644 test/cfg2cmd/q35-viommu-intel.conf.cmd
> create mode 100644 test/cfg2cmd/q35-viommu-virtio.conf
> create mode 100644 test/cfg2cmd/q35-viommu-virtio.conf.cmd
>
>
applied, thanks!
More information about the pve-devel
mailing list