aboutsummaryrefslogtreecommitdiff
path: root/accel/stubs/hax-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel/stubs/hax-stub.c')
-rw-r--r--accel/stubs/hax-stub.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/accel/stubs/hax-stub.c b/accel/stubs/hax-stub.c
new file mode 100644
index 0000000..c0e6f89
--- /dev/null
+++ b/accel/stubs/hax-stub.c
@@ -0,0 +1,34 @@
+/*
+ * QEMU HAXM support
+ *
+ * Copyright (c) 2015, Intel Corporation
+ *
+ * Copyright 2016 Google, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * See the COPYING file in the top-level directory.
+ *
+ */
+
+#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "cpu.h"
+#include "sysemu/hax.h"
+
+int hax_sync_vcpus(void)
+{
+ return 0;
+}
+
+int hax_init_vcpu(CPUState *cpu)
+{
+ return -ENOSYS;
+}
+
+int hax_smp_cpu_exec(CPUState *cpu)
+{
+ return -ENOSYS;
+}