aboutsummaryrefslogtreecommitdiff
path: root/target/i386/excp_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/excp_helper.c')
-rw-r--r--target/i386/excp_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/excp_helper.c b/target/i386/excp_helper.c
index 37a33d5ae0..49231f6b69 100644
--- a/target/i386/excp_helper.c
+++ b/target/i386/excp_helper.c
@@ -53,7 +53,7 @@ static int check_exception(CPUX86State *env, int intno, int *error_code,
#if !defined(CONFIG_USER_ONLY)
if (env->old_exception == EXCP08_DBLE) {
- if (env->hflags & HF_SVMI_MASK) {
+ if (env->hflags & HF_GUEST_MASK) {
cpu_vmexit(env, SVM_EXIT_SHUTDOWN, 0, retaddr); /* does not return */
}