xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nestedsvm: VMRUN doesn't use nextrip
@ 2011-08-29  8:55 Christoph Egger
  0 siblings, 0 replies; only message in thread
From: Christoph Egger @ 2011-08-29  8:55 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]


VMRUN does not use nextrip. So remove pointless
assignment.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>

-- 
---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

[-- Attachment #2: xen_nh_nextrip.diff --]
[-- Type: text/plain, Size: 502 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-29  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29  8:55 [PATCH] nestedsvm: VMRUN doesn't use nextrip Christoph Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).