aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-12-12 18:10:35 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:33:50 +0100
commit6c730e4af9b64b6c83b233f285ec3649747f7eda (patch)
tree239d50e5eaceb574dd36ec0a1df899e111c07bc1 /hw/i386/Kconfig
parente0c0965f0739becb2942b0866d520d80366c2f65 (diff)
pc: stubify x86 iommu
Allow building microvm without x86-iommu.c. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/Kconfig')
-rw-r--r--hw/i386/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 5a494342ea..91cf5843b4 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -103,11 +103,17 @@ config MICROVM
select MC146818RTC
select VIRTIO_MMIO
+config X86_IOMMU
+ bool
+ depends on PC
+
config VTD
bool
+ select X86_IOMMU
config AMD_IOMMU
bool
+ select X86_IOMMU
config VMPORT
bool