lkml.org 
[lkml]   [2020]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 1/2] x86,module: Detect VMX modules and disable Split-Lock-Detect
    From
    Date
    On 02/04/2020 14.32, Thomas Gleixner wrote:
    > From: Peter Zijlstra <peterz@infradead.org>
    >
    > It turns out that with Split-Lock-Detect enabled (default) any VMX
    > hypervisor needs at least a little modification in order to not blindly
    > inject the #AC into the guest without the guest being ready for it.
    >
    > Since there is no telling which module implements a hypervisor, scan the
    > module text and look for the VMLAUNCH instruction. If found, the module is
    > assumed to be a hypervisor of some sort and SLD is disabled.

    How long does that scan take/add to module load time? Would it make
    sense to exempt in-tree modules?

    Rasmus

    \
     
     \ /
      Last update: 2020-04-03 01:43    [W:3.262 / U:1.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site