ppc/xive: Add support for PQ state bits offload
[qemu.git] / include / sysemu / hax.h
blob247f0661d1263b1dcd6d58d1144b547af2e82128
1 /*
2 * QEMU HAXM support
4 * Copyright IBM, Corp. 2008
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
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>
15 * Copyright 2016 Google, Inc.
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.
22 #ifndef QEMU_HAX_H
23 #define QEMU_HAX_H
25 int hax_sync_vcpus(void);
27 #ifdef NEED_CPU_H
29 #ifdef CONFIG_HAX
31 int hax_enabled(void);
33 #else /* CONFIG_HAX */
35 #define hax_enabled() (0)
37 #endif /* CONFIG_HAX */
39 #endif /* NEED_CPU_H */
41 #endif /* QEMU_HAX_H */