xen-stubs.c 644 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Stubs for unimplemented Xen functions for ARM.
  3. *
  4. * SPDX-License-Identifier: MIT
  5. */
  6. #include "qemu/osdep.h"
  7. #include "qapi/qapi-commands-migration.h"
  8. #include "system/xen.h"
  9. #include "hw/hw.h"
  10. #include "hw/xen/xen-hvm-common.h"
  11. #include "hw/xen/arch_hvm.h"
  12. void arch_handle_ioreq(XenIOState *state, ioreq_t *req)
  13. {
  14. hw_error("Invalid ioreq type 0x%x\n", req->type);
  15. return;
  16. }
  17. void arch_xen_set_memory(XenIOState *state, MemoryRegionSection *section,
  18. bool add)
  19. {
  20. }
  21. void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length)
  22. {
  23. }
  24. void qmp_xen_set_global_dirty_log(bool enable, Error **errp)
  25. {
  26. }