qemu/hw/i386/x86-iommu-stub.c
<<
>>
Prefs
   1/*
   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
  35bool x86_iommu_ir_supported(X86IOMMUState *s)
  36{
  37    return false;
  38}
  39