[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1222265424.5708.5.camel@localhost>
Date: Wed, 24 Sep 2008 17:10:24 +0300
From: Cristi Magherusan <cristi.magherusan@....utcluj.ro>
To: Yan Li <elliot.li.tech@...il.com>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>, joerg.roedel@....com,
rjmaomao@...il.com, Yinghai Lu <yhlu.kernel@...il.com>,
Thomas Gleixner <tglx@...utronix.de>, nancydreaming@...il.com
Subject: Re: [PATCH 1/2] VMware guest detection for x86 and x86-64
On Wed, 2008-09-24 at 20:22 +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.
We can also use this feature to force the HZ value to 100 or 250 at most
when running in a virtual environment, since VirtualBox had some issues
with this by taking a lot of CPU time when the HZ was set to 1000.
Cristi
--
Cristi Măgherușan,
Inginer de sistem/retea
Universitatea Tehnică din Cluj-Napoca
Centrul de Comunicații "Pusztai Kalman"
Tel. 0264/401247 http://cc.utcluj.ro
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists