From: Keir Fraser Subject: Re: VMM detection Date: Thu, 05 Mar 2009 08:37:40 +0000 Message-ID: References: <28765877.152741236222954953.JavaMail.coremail@bj163app62.163.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <28765877.152741236222954953.JavaMail.coremail@bj163app62.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 On 05/03/2009 03:15, "Wu Bingzheng" wrote: > So do you mean that in HVM guest, the SGDT will get the GDT of guest, but not > Xen? > > It lists 17 instructions in Pentium instruction set, which is virtualization > sensitive > and unprivileged, including SGDT, at paper named > Analysis of the IntelPentium's Ability to Support aSecure Virtual Machine > Monitor > . > Using these instructions, we can detect VMM on a PV guest. > > I want to know if we can use these instructions to detect VMM on a HVM guest. No, they behave 'natively' when running as an HVM guest. The guest cannot easily tell it is running on a VMM. -- Keir