On 4/11/2025 1:50 PM, H. Peter Anvin wrote:
This is quite hideous. I have no objection to optimizing __vmx_vcpu_run(), but I would much prefer that a macro like this live in generic code, and that it be generic. It should be easy enough to provide an assembly friendly equivalent to __native_wrmsr_constant().Will do.This should be coming anyway, right?
Absolutely. Totally stupid me: we have it ready to use here, but ...