On 03/07/2017 03:58 AM, Paolo Bonzini wrote:
On 06/03/2017 02:34, Richard Henderson wrote:
My guess is that everything from cpu_svm_check_intercept_param on should
be done from do_interrupt instead of during raise_interrupt.
From cpu_svm_check_intercept_param, or from cpu_vmexit? The former seems
to be too early because it will usually not even do anything, but treating
cpu_vmexit like an exception is a very good idea indeed. This is my
uncompiled take.
I hadn't considered that approach. But it looks very plausible.
r~