Add dma-translation attribute to qemu command line if specified in
domain conf.
Signed-off-by: Sandesh Patel <sandesh.patel@nutanix.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
"S:eim", qemuOnOffAuto(iommu->eim),
"T:device-iotlb", iommu->iotlb,
"z:aw-bits", iommu->aw_bits,
+ "T:dma-translation", iommu->dma_translation,
NULL) < 0)
return -1;
-rtc base=utc \
-no-shutdown \
-boot strict=on \
--device '{"driver":"intel-iommu","id":"iommu0","intremap":"on"}' \
+-device '{"driver":"intel-iommu","id":"iommu0","intremap":"on","dma-translation":false}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \