diff options
author | Richard Henderson | 2021-05-14 17:13:30 +0200 |
---|---|---|
committer | Richard Henderson | 2021-05-19 19:17:11 +0200 |
commit | 3d4fce8b8e7f9f8b898b46500d29279e965cb646 (patch) | |
tree | 59eb1e63a859371ad25f072cf625cd0602559320 /target/i386/tcg/helper-tcg.h | |
parent | target/i386: Remove pc_start argument to gen_svm_check_intercept (diff) | |
download | qemu-3d4fce8b8e7f9f8b898b46500d29279e965cb646.tar.gz qemu-3d4fce8b8e7f9f8b898b46500d29279e965cb646.tar.xz qemu-3d4fce8b8e7f9f8b898b46500d29279e965cb646.zip |
target/i386: Remove user stub for cpu_vmexit
This function is only called from tcg/sysemu/.
There is no need for a stub in tcg/user/.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-39-richard.henderson@linaro.org>
Diffstat (limited to 'target/i386/tcg/helper-tcg.h')
-rw-r--r-- | target/i386/tcg/helper-tcg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/i386/tcg/helper-tcg.h b/target/i386/tcg/helper-tcg.h index 97fb7a226a..85a8b0ebd6 100644 --- a/target/i386/tcg/helper-tcg.h +++ b/target/i386/tcg/helper-tcg.h @@ -77,10 +77,12 @@ extern const uint8_t parity_table[256]; /* misc_helper.c */ void cpu_load_eflags(CPUX86State *env, int eflags, int update_mask); -/* svm_helper.c */ +/* sysemu/svm_helper.c */ +#ifndef CONFIG_USER_ONLY void QEMU_NORETURN cpu_vmexit(CPUX86State *nenv, uint32_t exit_code, uint64_t exit_info_1, uintptr_t retaddr); void do_vmexit(CPUX86State *env); +#endif /* seg_helper.c */ void do_interrupt_x86_hardirq(CPUX86State *env, int intno, int is_hw); |