xen_pt_stub.c 519 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (C) 2020 Citrix Systems UK Ltd.
  3. *
  4. * This work is licensed under the terms of the GNU GPL, version 2 or later.
  5. * See the COPYING file in the top-level directory.
  6. */
  7. #include "qemu/osdep.h"
  8. #include "hw/xen/xen_pt.h"
  9. #include "qapi/error.h"
  10. bool xen_igd_gfx_pt_enabled(void)
  11. {
  12. return false;
  13. }
  14. void xen_igd_gfx_pt_set(bool value, Error **errp)
  15. {
  16. if (value) {
  17. error_setg(errp, "Xen PCI passthrough support not built in");
  18. }
  19. }
  20. void xen_igd_reserve_slot(PCIBus *pci_bus)
  21. {
  22. }