aboutsummaryrefslogtreecommitdiff
path: root/target/i386/svm_helper.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2018-04-03 17:36:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-06-28 19:05:37 +0200
commit50b3de6e5cd464dcc20e3a48f5a09e0299a184ac (patch)
treed50b707f4d093ac400490a725ff075e59da02a15 /target/i386/svm_helper.c
parentdf2518aa587a0157bbfbc635fe47295629d9914a (diff)
target-i386: Mark cpu_vmexit noreturn
It calls cpu_loop_exit in system emulation mode (and should never be called in user emulation mode). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Message-Id: <6f4d44ffde55d074cbceb48309c1678600abad2f.1522769774.git.jan.kiszka@web.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/svm_helper.c')
-rw-r--r--target/i386/svm_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/svm_helper.c b/target/i386/svm_helper.c
index 350492359c..f245aec310 100644
--- a/target/i386/svm_helper.c
+++ b/target/i386/svm_helper.c
@@ -62,6 +62,7 @@ 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,