lkml.org 
[lkml]   [2017]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 25/60] x86/paravirt: Provide a way to check for hypervisors
From
Date
On 04/12/17 15:07, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx@linutronix.de>
>
> There is no generic way to test whether a kernel is running on a specific
> hypervisor. But that's required to prevent the upcoming user address space
> separation feature in certain guest modes.
>
> Make the hypervisor type enum unconditionally available and provide a
> helper function which allows to test for a specific type.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

\
 
 \ /
  Last update: 2017-12-05 13:20    [W:0.275 / U:10.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site