|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v2 37/50] target/i386: Remove pc_start argument to gen_svm_check_intercept |
Date: | Tue, 18 May 2021 11:58:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
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.henderson@linaro.org> --- target/i386/tcg/translate.c | 45 +++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 24 deletions(-)
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |