Re: [PATCH] KVM: x86: emulate reserved nops from 0f/18 to 0f/1f

Sean Christopherson
2020-05-19T15:32:47Z

On Tue, May 19, 2020 at 10:06:25AM +0200, Paolo Bonzini wrote:
> On 19/05/20 09:55, Sean Christopherson wrote:
> > Tangentially related, isn't the whole fastop thing doomed once CET kernel
> > support lands?
>
> Why? You do need to add endbr markers and some of the fastop handlers
> won't fit in 8 bytes, but that should be it.

Never mind, had a brain fart and forgot CALL_NOSPEC shouldn't get patched
to a retpoline on CET capable CPUs.