[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL v2 01/14] hw/i386/x86-iommu: Add missing stubs

From: Alex Bennée
Subject: [PULL v2 01/14] hw/i386/x86-iommu: Add missing stubs
Date: Thu, 9 Jan 2020 14:18:45 +0000

From: Philippe Mathieu-Daudé <address@hidden>

In commit 6c730e4af9 we introduced a stub to build the MicroVM
machine without Intel IOMMU. This stub is incomplete for the
other PC machines. Add the missing stubs.

Fixes: 6c730e4af9
Reported-by: Travis-CI
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Wainer dos Santos Moschetta <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>

diff --git a/hw/i386/x86-iommu-stub.c b/hw/i386/x86-iommu-stub.c
index 03576cdccb4..c5ba077f9d1 100644
--- a/hw/i386/x86-iommu-stub.c
+++ b/hw/i386/x86-iommu-stub.c
@@ -32,3 +32,12 @@ X86IOMMUState *x86_iommu_get_default(void)
     return NULL;
+bool x86_iommu_ir_supported(X86IOMMUState *s)
+    return false;
+IommuType x86_iommu_get_type(void)
+    abort();

reply via email to

[Prev in Thread] Current Thread [Next in Thread]