hax-stub.c 627 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * QEMU HAXM support
  3. *
  4. * Copyright (c) 2015, Intel Corporation
  5. *
  6. * Copyright 2016 Google, Inc.
  7. *
  8. * This software is licensed under the terms of the GNU General Public
  9. * License version 2, as published by the Free Software Foundation, and
  10. * may be copied, distributed, and modified under those terms.
  11. *
  12. * See the COPYING file in the top-level directory.
  13. *
  14. */
  15. #include "qemu/osdep.h"
  16. #include "qemu-common.h"
  17. #include "cpu.h"
  18. #include "sysemu/hax.h"
  19. int hax_sync_vcpus(void)
  20. {
  21. return 0;
  22. }
  23. int hax_init_vcpu(CPUState *cpu)
  24. {
  25. return -ENOSYS;
  26. }
  27. int hax_smp_cpu_exec(CPUState *cpu)
  28. {
  29. return -ENOSYS;
  30. }