diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-28 10:32:23 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-12 16:12:46 +0100 |
commit | 8cc436d9c513797291b531bbf06ef306f41e8c9b (patch) | |
tree | 70bdff39c57b40d7e8b6c33279555240de438b61 /hw/i386 | |
parent | 4397a018473ae589be959ba93cb491cbd77fe789 (diff) | |
download | qemu-8cc436d9c513797291b531bbf06ef306f41e8c9b.zip qemu-8cc436d9c513797291b531bbf06ef306f41e8c9b.tar.gz qemu-8cc436d9c513797291b531bbf06ef306f41e8c9b.tar.bz2 |
hw/i386: make IOMMUs configurable via default-configs/
Allow distributions to disable the Intel and/or AMD IOMMU devices.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/Makefile.objs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs index fd279e7..fa87a14 100644 --- a/hw/i386/Makefile.objs +++ b/hw/i386/Makefile.objs @@ -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 |