blob: c5ba077f9d1986a7baf8ba1c8834b5eb74c82152 [file] [log] [blame]
Paolo Bonzini6c730e42019-12-12 18:10:35 +01001/*
2 * Stubs for X86 IOMMU emulation
3 *
4 * Copyright (C) 2019 Red Hat, Inc.
5 *
6 * Author: Paolo Bonzini <pbonzini@redhat.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, see <http://www.gnu.org/licenses/>.
20 */
21
22#include "qemu/osdep.h"
23#include "hw/i386/x86-iommu.h"
24
25void x86_iommu_iec_register_notifier(X86IOMMUState *iommu,
26 iec_notify_fn fn, void *data)
27{
28}
29
30X86IOMMUState *x86_iommu_get_default(void)
31{
32 return NULL;
33}
34
Philippe Mathieu-Daudé6ec0a062019-12-20 16:42:25 +010035bool x86_iommu_ir_supported(X86IOMMUState *s)
36{
37 return false;
38}
39
40IommuType x86_iommu_get_type(void)
41{
42 abort();
43}