diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-12-20 16:42:25 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2020-01-09 11:41:25 +0000 |
commit | 6ec0a06366259907650cec999a10bf055828d40a (patch) | |
tree | 5a6164405c8c7cfe6e4d5a15ddd97e8f94cdd6a8 /hw/i386/x86-iommu-stub.c | |
parent | 035eed4c0d257c905a556fa0f4865a0c077b4e7f (diff) | |
download | qemu-6ec0a06366259907650cec999a10bf055828d40a.zip qemu-6ec0a06366259907650cec999a10bf055828d40a.tar.gz qemu-6ec0a06366259907650cec999a10bf055828d40a.tar.bz2 |
hw/i386/x86-iommu: Add missing stubs
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>
Diffstat (limited to 'hw/i386/x86-iommu-stub.c')
-rw-r--r-- | hw/i386/x86-iommu-stub.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/i386/x86-iommu-stub.c b/hw/i386/x86-iommu-stub.c index 03576cd..c5ba077 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(); +} |