]> Git Repo - qemu.git/blame - include/sysemu/hax.h
vhost-user-blk: Add support to reconnect backend
[qemu.git] / include / sysemu / hax.h
CommitLineData
47c1c8c1
VP
1/*
2 * QEMU HAXM support
3 *
4 * Copyright IBM, Corp. 2008
5 *
6 * Authors:
7 * Anthony Liguori <[email protected]>
8 *
9 * Copyright (c) 2011 Intel Corporation
10 * Written by:
11 * Jiang Yunhong<[email protected]>
12 * Xin Xiaohui<[email protected]>
13 * Zhang Xiantao<[email protected]>
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
47c1c8c1
VP
25#include "qemu-common.h"
26
27int hax_sync_vcpus(void);
28int hax_init_vcpu(CPUState *cpu);
29int hax_smp_cpu_exec(CPUState *cpu);
7a5235c9 30int hax_populate_ram(uint64_t va, uint64_t size);
47c1c8c1
VP
31
32void hax_cpu_synchronize_state(CPUState *cpu);
33void hax_cpu_synchronize_post_reset(CPUState *cpu);
34void hax_cpu_synchronize_post_init(CPUState *cpu);
75e972da 35void hax_cpu_synchronize_pre_loadvm(CPUState *cpu);
47c1c8c1
VP
36
37#ifdef CONFIG_HAX
38
39int hax_enabled(void);
40
41#include "hw/hw.h"
42#include "qemu/bitops.h"
43#include "exec/memory.h"
44int hax_vcpu_destroy(CPUState *cpu);
45void hax_raise_event(CPUState *cpu);
46void hax_reset_vcpu_state(void *opaque);
47#include "target/i386/hax-interface.h"
48#include "target/i386/hax-i386.h"
49
50#else /* CONFIG_HAX */
51
52#define hax_enabled() (0)
53
54#endif /* CONFIG_HAX */
55
56#endif /* QEMU_HAX_H */
This page took 0.136685 seconds and 4 git commands to generate.