From: Christoph Egger Date: Wed, 31 Aug 2011 14:15:41 +0000 (+0100) Subject: nestedsvm: VMRUN doesn't use nextrip X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~9935 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2aab6a3a7f4518bd523b04c0b7502b928de834b3;p=xen.git nestedsvm: VMRUN doesn't use nextrip VMRUN does not use nextrip. So remove pointless assignment. Signed-off-by: Christoph Egger --- diff --git a/xen/arch/x86/hvm/svm/nestedsvm.c b/xen/arch/x86/hvm/svm/nestedsvm.c index ba7683b25a..bbd8866c1d 100644 --- a/xen/arch/x86/hvm/svm/nestedsvm.c +++ b/xen/arch/x86/hvm/svm/nestedsvm.c @@ -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