On Mon, 2018-10-29 at 10:26 -0700, Sean Christopherson wrote: > I think it's a good idea to explicitly call out that clearing the > GPRs > is done to prevent speculative use. Simply stating that we don't > want > to let guest register values survive doesn't explain *why*. > > What about: > > /* > * Explicitly clear (in addition to marking them as > clobbered) all GPRs > * that have not been loaded with host state to prevent > speculatively > * using the guest's values. > */ Sounds good. I've also updated the commit message for the register clearing commit. I'll repost the patches. Julian Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrer: Christian Schlaeger, Ralf Herbrich Ust-ID: DE 289 237 879 Eingetragen am Amtsgericht Charlottenburg HRB 149173 B