On 14/05/21 17:13, Richard Henderson wrote:
When exiting helper_svm_check_intercept via exception, cpu_vmexit
calls cpu_restore_state, which will recover eip and cc_op via unwind.
Therefore we do not need to store eip or cc_op before the call.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  target/i386/tcg/translate.c | 45 +++++++++++++++++--------------------
  1 file changed, 21 insertions(+), 24 deletions(-)

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>


Reply via email to