lkml.org 
[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] VMware guest detection for x86 and x86-64
On Wed, Sep 24, 2008 at 08:22:10PM +0800, Yan Li wrote:
> Detects whether we are running as a VMware guest or not. Detection is
> based upon DMI vendor string.
>
> It provides a function:
> int is_vmware_guest(void)
> that can be used easily to detect if we are running as a VMware guest
> or not.

Why do we need to do this within the kernel, what is that going to
achieve?

People can do this easily in userspace if they need to detect this, I
think there's a patch for util-linux-ng adding such a simple utility
that handles almost all of the known virtualization engines right now.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-09-25 04:27    [W:0.357 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site