blob: cbdf7915d2adf98ea32a81d343d6d4b93af0168e [file] [log] [blame]
/*
* 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;
}
void hax_disable(int disable)
{
return;
}
int hax_pre_init(uint64_t ram_size)
{
return 0;
}
int hax_get_max_ram(uint64_t *max_ram) {
return 0;
}
int hax_populate_ram(uint64_t va, uint32_t size) {
return -ENOSYS;
}
int hax_init_vcpu(CPUState *cpu) {
return -ENOSYS;
}
int hax_smp_cpu_exec(CPUState *cpu) {
return -ENOSYS;
}
int hax_vcpu_exec(CPUState *cpu) {
return -ENOSYS;
}
int hax_vcpu_emulation_mode(CPUState *cpu) {
return 0;
}
int hax_stop_emulation(CPUState *cpu) {
return 0;
}
int hax_stop_translate(CPUState *cpu) {
return 0;
}