diff options
author | Claudio Fontana | 2020-08-11 18:32:18 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-10-05 16:41:22 +0200 |
commit | 77c050b5ec6c0759a237b6e9d3e2613f66dbb54f (patch) | |
tree | 5b32749a8dca79acb5f5447c294b896550ca052e /target/i386 | |
parent | hvf: remove hvf specific functions from global includes (diff) | |
download | qemu-77c050b5ec6c0759a237b6e9d3e2613f66dbb54f.tar.gz qemu-77c050b5ec6c0759a237b6e9d3e2613f66dbb54f.tar.xz qemu-77c050b5ec6c0759a237b6e9d3e2613f66dbb54f.zip |
whpx: remove whpx specific functions from global includes
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/whpx-cpus.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/i386/whpx-cpus.h b/target/i386/whpx-cpus.h index 2393944954..bdb367d1d0 100644 --- a/target/i386/whpx-cpus.h +++ b/target/i386/whpx-cpus.h @@ -14,4 +14,21 @@ extern const CpusAccel whpx_cpus; +int whpx_init_vcpu(CPUState *cpu); +int whpx_vcpu_exec(CPUState *cpu); +void whpx_destroy_vcpu(CPUState *cpu); +void whpx_vcpu_kick(CPUState *cpu); + +void whpx_cpu_synchronize_state(CPUState *cpu); +void whpx_cpu_synchronize_post_reset(CPUState *cpu); +void whpx_cpu_synchronize_post_init(CPUState *cpu); +void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu); + +/* state subset only touched by the VCPU itself during runtime */ +#define WHPX_SET_RUNTIME_STATE 1 +/* state subset modified during VCPU reset */ +#define WHPX_SET_RESET_STATE 2 +/* full state set, modified during initialization or on vmload */ +#define WHPX_SET_FULL_STATE 3 + #endif /* WHPX_CPUS_H */ |