]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/i386/x86-iommu: Add missing stubs
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 20 Dec 2019 15:42:25 +0000 (16:42 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 9 Jan 2020 11:41:25 +0000 (11:41 +0000)
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é <philmd@redhat.com>
Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20191220154225.25879-1-philmd@redhat.com>

hw/i386/x86-iommu-stub.c

index 03576cdccb49906a197f439433877c29a05ef50f..c5ba077f9d1986a7baf8ba1c8834b5eb74c82152 100644 (file)
@@ -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();
+}