Re: [PATCH] Move VMEnter and VMExit tracepoints closer to the actual event

From: Paolo Bonzini
Date: Thu May 20 2021 - 12:18:52 EST

On 20/05/21 17:32, Sean Christopherson wrote:
On VMX, I think the tracepoint can be moved below the VMWRITEs without much
contention (though doing so is likely a nop), but moving it below
kvm_load_guest_xsave_state() requires a bit more discussion.

Indeed; as a rule of thumb, the tracepoint on SVM could match the clgi/stgi region, and on VMX it could be placed in a similar location.


I 100% agree that the current behavior can be a bit confusing, but I wonder if
we'd be better off "solving" that problem through documentation.