From ffdc6031221dea2214e91a5f5eb74a62b903c305 Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Mon, 14 Aug 2023 22:22:26 +0200 Subject: [PATCH] Add intel-iommu device. --- .../templates/Standard-VM-latest.ftl.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml b/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml index 3d526ca..514f561 100644 --- a/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml +++ b/org.jdrupes.vmoperator.runner.qemu/templates/Standard-VM-latest.ftl.yaml @@ -91,8 +91,9 @@ <#if vm.threadsPerCore gt 0>,cores=${ vm.threadsPerCore }" ] <#if vm.accelerator != "none"> - - [ "-accel", "${ vm.accelerator }"] + - [ "-accel", "${ vm.accelerator }" ] + - [ "-device", "intel-iommu,device-iotlb=on" ] # (More devices:) # * RTC - [ "-rtc", "base=${ vm.rtcBase },clock=${ vm.rtcClock },driftfix=slew" ]