summary refs log tree commit diff stats
path: root/target/i386/tcg/system/svm_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/tcg/system/svm_helper.c')
-rw-r--r--target/i386/tcg/system/svm_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/tcg/system/svm_helper.c b/target/i386/tcg/system/svm_helper.c
index 3569196bdd..505788b0e2 100644
--- a/target/i386/tcg/system/svm_helper.c
+++ b/target/i386/tcg/system/svm_helper.c
@@ -824,7 +824,7 @@ void do_vmexit(CPUX86State *env)
     env->intercept_exceptions = 0;
 
     /* Clears the V_IRQ and V_INTR_MASKING bits inside the processor. */
-    cs->interrupt_request &= ~CPU_INTERRUPT_VIRQ;
+    cpu_reset_interrupt(cs, CPU_INTERRUPT_VIRQ);
     env->int_ctl = 0;
 
     /* Clears the TSC_OFFSET inside the processor. */