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

[Xen-devel] How to modify GUEST_RIP in xen 4.0.1?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to modify GUEST_RIP in xen 4.0.1?
From: "K.C. Lee" <kcl.joseph@xxxxxxxxx>
Date: Tue, 14 Dec 2010 00:38:21 +0800
Delivery-date: Mon, 13 Dec 2010 08:39:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=BqzvV6NlU27RL0G8YSp/X1Nu+TKbRbnvSQMRBA+mgGw=; b=ciRqK+mxo0cx6cU5ll1a7LyHwixyh5x0CNGrYzW8vpIvgCvbiTpavAq38y4Yl4f7HJ KRENzBtcnO2qxytJt+qhPgmRpWWPJnh3BBQkdKpSmB9A2YCxnon1Qds/ymur8CEJ3TSX aj4Gi9D6ScraOUlp6seY5rh9hn5gzvtdLjMOw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ciN18G4UBoLsrwIMDgkfGwDTasuq+ihTL4Ha/pz56Pc0hFk+EW8qyhRJm6MAQae1T+ BJCiuIRV2kGMoX96xl+SwBfELyala2FJIbK6C6631Mbjq6s52EIgJBV3c4cGp4sgJkBU H735yBhnWuIsppqpry+xiAMOl2rDzIAOdYbHY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Hi,

I want to change the guest's RIP.

The story is that I change GUEST_SYSENTER_EIP in vmx_vmexit_handler() in order to catch a page_fault and do something in sh_page_fault().
But I need to change GUEST_RIP back after something is done.

I change GUEST_RIP in sh_page_fault(),
but it doesn't work.

What should I do?

Thanks,

K.C.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>