diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-05-14 10:13:25 -0500 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-19 12:17:11 -0500 |
commit | 8d6806c7dd44f8d8423d0cf0fb9de21ef0501cbe (patch) | |
tree | 97d0404d5b5c20df60c4451fac62c04979d428fb /target/i386/tcg/user | |
parent | e6aeb948bb7f189a9c17081e69ce39df85feae7f (diff) | |
download | qemu-8d6806c7dd44f8d8423d0cf0fb9de21ef0501cbe.zip qemu-8d6806c7dd44f8d8423d0cf0fb9de21ef0501cbe.tar.gz qemu-8d6806c7dd44f8d8423d0cf0fb9de21ef0501cbe.tar.bz2 |
target/i386: Eliminate SVM helpers for user-only
Use STUB_HELPER to ensure that such calls are always eliminated.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-34-richard.henderson@linaro.org>
Diffstat (limited to 'target/i386/tcg/user')
-rw-r--r-- | target/i386/tcg/user/svm_stubs.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/target/i386/tcg/user/svm_stubs.c b/target/i386/tcg/user/svm_stubs.c index 63b37f0..48a43bd 100644 --- a/target/i386/tcg/user/svm_stubs.c +++ b/target/i386/tcg/user/svm_stubs.c @@ -22,51 +22,13 @@ #include "exec/helper-proto.h" #include "tcg/helper-tcg.h" -void helper_vmrun(CPUX86State *env, int aflag, int next_eip_addend) -{ -} - -void helper_vmmcall(CPUX86State *env) -{ -} - -void helper_vmload(CPUX86State *env, int aflag) -{ -} - -void helper_vmsave(CPUX86State *env, int aflag) -{ -} - -void helper_stgi(CPUX86State *env) -{ -} - -void helper_clgi(CPUX86State *env) -{ -} - -void helper_invlpga(CPUX86State *env, int aflag) -{ -} - void cpu_vmexit(CPUX86State *nenv, uint32_t exit_code, uint64_t exit_info_1, uintptr_t retaddr) { assert(0); } -void helper_svm_check_intercept_param(CPUX86State *env, uint32_t type, - uint64_t param) -{ -} - void cpu_svm_check_intercept_param(CPUX86State *env, uint32_t type, uint64_t param, uintptr_t retaddr) { } - -void helper_svm_check_io(CPUX86State *env, uint32_t port, uint32_t param, - uint32_t next_eip_addend) -{ -} |