Skip to contentSkip to conversation

nestedsvm: VMRUN doesn't use nextrip

PATCH New Christoph Egger 1 participant 1 message Aug 29, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nestedsvm: VMRUN doesn't use nextrip

VMRUN does not use nextrip. So remove pointless assignment.

Signature · 6 lines
---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
xen/arch/x86/hvm/svm/nestedsvm.c +1 -2
diff -r b857db54bca3 xen/arch/x86/hvm/svm/nestedsvm.c
@@ -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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel