qapi/error: Check format string argument in error_*prepend()
[qemu/armbru.git] / hw / i386 / x86-iommu-stub.c
blobc5ba077f9d1986a7baf8ba1c8834b5eb74c82152
1 /*
2 * Stubs for X86 IOMMU emulation
4 * Copyright (C) 2019 Red Hat, Inc.
6 * Author: Paolo Bonzini <pbonzini@redhat.com>
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.
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.
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/>.
22 #include "qemu/osdep.h"
23 #include "hw/i386/x86-iommu.h"
25 void x86_iommu_iec_register_notifier(X86IOMMUState *iommu,
26 iec_notify_fn fn, void *data)
30 X86IOMMUState *x86_iommu_get_default(void)
32 return NULL;
35 bool x86_iommu_ir_supported(X86IOMMUState *s)
37 return false;
40 IommuType x86_iommu_get_type(void)
42 abort();