On Wed, Feb 21, 2018 at 1:41 PM, Paolo Bonzini <[email protected]> wrote:
> Having a paravirt indirect call in the IBRS restore path is not a
> good idea, since we are trying to protect from speculative execution
> of bogus indirect branch targets.  It is also slower, so use
> native_wrmsrl on the vmentry path too.
>
> Fixes: d28b387fb74da95d69d2615732f50cceb38e9a4d
> Cc: [email protected]
> Cc: Radim Krčmář <[email protected]>
> Cc: KarimAllah Ahmed <[email protected]>
> Cc: David Woodhouse <[email protected]>
> Cc: Jim Mattson <[email protected]>
> Cc: Thomas Gleixner <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Cc: [email protected]
> Signed-off-by: Paolo Bonzini <[email protected]>

Seems like there ought to be a native_rdmsrl, but otherwise this looks fine.

Reviewed-by: Jim Mattson <[email protected]>

Reply via email to