x86-iommu-stub.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. * You should have received a copy of the GNU General Public License along
  17. * with this program; if not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #include "qemu/osdep.h"
  20. #include "hw/i386/x86-iommu.h"
  21. void x86_iommu_iec_register_notifier(X86IOMMUState *iommu,
  22. iec_notify_fn fn, void *data)
  23. {
  24. }
  25. X86IOMMUState *x86_iommu_get_default(void)
  26. {
  27. return NULL;
  28. }
  29. bool x86_iommu_ir_supported(X86IOMMUState *s)
  30. {
  31. return false;
  32. }