WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Writing VM Exit handlers in Xen

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Writing VM Exit handlers in Xen
From: Patrick Colp <pjcolp@xxxxxxxxx>
Date: Thu, 29 Jul 2010 09:16:07 -0400
Cc: Jonathan White <jonxwhite@xxxxxxxxx>, Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Jul 2010 06:25:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=0hQx0Ehigew4LvpjjzmeOwJWcG50NzFdfycp43eHzvM=; b=MQNYSyLUrq8VBTgnf5lbZ+HhqXORLy1XxycYLghhNQaZgwPLl6XGb4oXqS/geRASRI Gud2wTeFZ2aMyvLLxOtAZNfnt45ZW6XizxBbUujJfd317X2dXWt3a+VpxmxlcCOYexNT 2WXJW4YJ10f6uGiCAi4vP6k8JQ5Iz0sxgFy7g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vOVHRI7+9vhsYulSPox+EnZggqe7helO6cEZSrzJBvtyW9ot7cOaJAq6tVi3D+Q73i HP6Gc0b+oGYu2GqcpQ4LvGWbBY2/WaIIl5vd6YZF5GZcSm/FyFx4ReUGgLEayjTIe/C6 zBZNSRbmXmDA7hFLKqhC6RLZT/Ho6D57lORYc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikV4Lc8EaqDJeVYUdKbLEJ+2n=0wKY+uUYQvn37@xxxxxxxxxxxxxx>
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>
References: <AANLkTini9p9kLB4xbgCg6An3qWTdiRtfsiuo-1cYXROx@xxxxxxxxxxxxxx> <AANLkTikV4Lc8EaqDJeVYUdKbLEJ+2n=0wKY+uUYQvn37@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> I would like to start write some simple Intel-VT VMExit handlers in Xen -
>> for e.g. when CPUID is executed, or some other VM Exit condition is
>> satisfied.
>> How can I define new VMExit conditions for a Intel-VT based HVM guest
>> (WinXP) in Xen? and how can I write simple handlers for those conditions?

You can't define new VMExit conditions. For all the possible exit
conditions, look at Intel's "Intel 64 and IA-32 Architectures Software
Developer's Manual", Volume 3B. In the current (or near current)
edition, you want to look at chapter 24 - VM Exits.


Patrick

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel