]> Git Repo - qemu.git/commitdiff
hw/i386: make IOMMUs configurable via default-configs/
authorPaolo Bonzini <[email protected]>
Wed, 28 Feb 2018 09:32:23 +0000 (10:32 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 12 Mar 2018 15:12:46 +0000 (16:12 +0100)
Allow distributions to disable the Intel and/or AMD IOMMU devices.

Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
default-configs/i386-softmmu.mak
default-configs/x86_64-softmmu.mak
hw/i386/Makefile.objs

index 3326e3e0bbb3d7b981c7fc8426a74422c2e7427b..9e5a29fa4a5efcc98498aeb4139ca8c3ab255a85 100644 (file)
@@ -63,3 +63,5 @@ CONFIG_PXB=y
 CONFIG_ACPI_VMGENID=y
 CONFIG_FW_CFG_DMA=y
 CONFIG_I2C=y
+CONFIG_VTD=y
+CONFIG_AMD_IOMMU=y
index 1c6cda1d9a9e6ae1b79fc659a55ac069301574db..7baf91b9212ec5baf7db8e99523e2b2dafea46cd 100644 (file)
@@ -63,3 +63,5 @@ CONFIG_PXB=y
 CONFIG_ACPI_VMGENID=y
 CONFIG_FW_CFG_DMA=y
 CONFIG_I2C=y
+CONFIG_VTD=y
+CONFIG_AMD_IOMMU=y
index fd279e7584dafcc6ec00d22e046d8c0f1df7f845..fa87a141523295e28732dd82969b60bec614975b 100644 (file)
@@ -2,8 +2,8 @@ obj-$(CONFIG_KVM) += kvm/
 obj-y += multiboot.o
 obj-y += pc.o pc_piix.o pc_q35.o
 obj-y += pc_sysfw.o
-obj-y += x86-iommu.o intel_iommu.o
-obj-y += amd_iommu.o
+obj-$(CONFIG_VTD) += x86-iommu.o intel_iommu.o
+obj-$(CONFIG_AMD_IOMMU) += x86-iommu.o amd_iommu.o
 obj-$(CONFIG_XEN) += ../xenpv/ xen/
 obj-$(CONFIG_VMPORT) += vmport.o
 obj-$(CONFIG_VMMOUSE) += vmmouse.o
This page took 0.025698 seconds and 4 git commands to generate.