lkml.org 
[lkml]   [2020]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 4/4] x86,module: Detect CRn and DRn manipulation
    From
    Date
    On 08/04/2020 01:22, Paolo Bonzini wrote:
    > On 08/04/20 01:15, Andrew Cooper wrote:
    >>> Anyhow, I do not think it is the only use-case which is not covered by your
    >>> patches (even considering CRs/DRs alone). For example, there is no kernel
    >>> function to turn on CR4.VMXE, which is required to run hypervisors on x86.
    >> How about taking this opportunity to see if there is a way to improve on
    >> the status quo for co-existing hypervisor modules?
    > Almost serious question: why? I can understand VMware, but why can't at
    > least VirtualBox use KVM on Linux? I am not sure if they are still
    > running device emulation in ring zero, but if so do you really want to
    > do that these days?

    I see a lot of good reasons not to use the VirtualBox out-of-tree module
    specifically, but there are plenty of other out-of-tree hypervisors,
    including Jailhouse and Bareflank which come to mind.

    I'm not suggesting bending over backwards for them, but at the point
    you're already breaking all of them anyway, it seems silly not to try
    and address some of the other robustness issues.

    ~Andrew

    \
     
     \ /
      Last update: 2020-04-08 11:54    [W:7.997 / U:0.820 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site