nestedsvm: VMRUN doesn't use nextrip
authorChristoph Egger <Christoph.Egger@amd.com>
Wed, 31 Aug 2011 14:15:41 +0000 (15:15 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Wed, 31 Aug 2011 14:15:41 +0000 (15:15 +0100)
VMRUN does not use nextrip. So remove pointless assignment.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/arch/x86/hvm/svm/nestedsvm.c

index ba7683b25a3b5fe1cb42d9ed774c4d1bfdf39609..bbd8866c1de3c514b5fa8f3b9c258f0f5f3eb8d3 100644 (file)
@@ -493,8 +493,7 @@ static int nsvm_vmcb_prepare4vmrun(struct vcpu *v, struct cpu_user_regs *regs)
     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