On 04/12/17 15:07, Thomas Gleixner wrote: > From: Thomas Gleixner <t...@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 <t...@linutronix.de>
Reviewed-by: Juergen Gross <jgr...@suse.com> Juergen