From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: [PATCH] nestedsvm: VMRUN doesn't use nextrip Date: Mon, 29 Aug 2011 10:55:46 +0200 Message-ID: <4E5B5412.5000304@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040100010205040302090405" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --------------040100010205040302090405 Content-Type: text/plain; charset="ISO-8859-15"; format=flowed Content-Transfer-Encoding: 7bit VMRUN does not use nextrip. So remove pointless assignment. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --------------040100010205040302090405 Content-Type: text/plain; name="xen_nh_nextrip.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_nh_nextrip.diff" Content-Description: xen_nh_nextrip.diff diff -r b857db54bca3 xen/arch/x86/hvm/svm/nestedsvm.c --- a/xen/arch/x86/hvm/svm/nestedsvm.c Fri Aug 26 16:03:23 2011 +0200 +++ b/xen/arch/x86/hvm/svm/nestedsvm.c Mon Aug 29 10:41:39 2011 +0200 @@ -493,8 +493,7 @@ static int nsvm_vmcb_prepare4vmrun(struc n2vmcb->lbr_control.bytes = n1vmcb->lbr_control.bytes | ns_vmcb->lbr_control.bytes; - /* NextRIP */ - n2vmcb->nextrip = ns_vmcb->nextrip; + /* NextRIP - only evaluated on #VMEXIT. */ /* * VMCB Save State Area --------------040100010205040302090405 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040100010205040302090405--