hax.h (726B)
1/* 2 * QEMU HAXM support 3 * 4 * Copyright IBM, Corp. 2008 5 * 6 * Authors: 7 * Anthony Liguori <aliguori@us.ibm.com> 8 * 9 * Copyright (c) 2011 Intel Corporation 10 * Written by: 11 * Jiang Yunhong<yunhong.jiang@intel.com> 12 * Xin Xiaohui<xiaohui.xin@intel.com> 13 * Zhang Xiantao<xiantao.zhang@intel.com> 14 * 15 * Copyright 2016 Google, Inc. 16 * 17 * This work is licensed under the terms of the GNU GPL, version 2 or later. 18 * See the COPYING file in the top-level directory. 19 * 20 */ 21 22#ifndef QEMU_HAX_H 23#define QEMU_HAX_H 24 25int hax_sync_vcpus(void); 26 27#ifdef NEED_CPU_H 28 29#ifdef CONFIG_HAX 30 31int hax_enabled(void); 32 33#else /* CONFIG_HAX */ 34 35#define hax_enabled() (0) 36 37#endif /* CONFIG_HAX */ 38 39#endif /* NEED_CPU_H */ 40 41#endif /* QEMU_HAX_H */