Index: /trunk/include/VBox/vmm/cpum.h
===================================================================
--- /trunk/include/VBox/vmm/cpum.h	(revision 71090)
+++ /trunk/include/VBox/vmm/cpum.h	(revision 71091)
@@ -1480,4 +1480,19 @@
     return HMIsGuestSvmXcptInterceptSet(pVCpu, pCtx, uVector);
 }
+
+/**
+ * Updates the NextRIP (NRIP) field in the nested-guest VMCB.
+ *
+ * @param   pVCpu       The cross context virtual CPU structure of the calling EMT.
+ * @param   pCtx        Pointer to the context.
+ * @param   cbInstr     The length of the current instruction in bytes.
+ */
+DECLINLINE(void) CPUMGuestSvmUpdateNRip(PVMCPU pVCpu, PCCPUMCTX pCtx, uint8_t cbInstr)
+{
+    RT_NOREF(pVCpu);
+    PSVMVMCB pVmcb = pCtx->hwvirt.svm.CTX_SUFF(pVmcb);
+    Assert(pVmcb);
+    pVmcb->ctrl.u64NextRIP = pCtx->rip + cbInstr;
+}
 #endif /* !IN_RC */
 
