This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] VMM detection

To: Wu Bingzheng <wubingzheng@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] VMM detection
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 05 Mar 2009 08:37:40 +0000
Delivery-date: Thu, 05 Mar 2009 00:38:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <28765877.152741236222954953.JavaMail.coremail@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmdQMxPZmYVPnfiRuKJ2r8QTbXilQALNiQ3
Thread-topic: [Xen-devel] VMM detection
User-agent: Microsoft-Entourage/
On 05/03/2009 03:15, "Wu Bingzheng" <wubingzheng@xxxxxxx> 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
> <http://www.usenix.org/events/sec00/full_papers/robin/robin_html/index.html>.
> 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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>