From: Keir Fraser Subject: Re: VMM detection Date: Wed, 04 Mar 2009 08:47:59 +0000 Message-ID: References: <16141848.843521236149463275.JavaMail.coremail@bj163app134.163.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <16141848.843521236149463275.JavaMail.coremail@bj163app134.163.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wu Bingzheng , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org It would be impossible to hide virtualisation from a PV guest kernel of course, and very hard to hide it from a PV guest application also. -- Keir On 04/03/2009 06:51, "Wu Bingzheng" wrote: > using SGDT to get GDT's address. > > If its address is 0xCxxxxxxx, then it's on physical hardware (the OS is Linux) > If the address is 0xFxxxxxxx (0xFE820000), then it's on Xen. > > I test it, and it works. > > Can Xen do something to prevent this?