projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773f372
)
nestedsvm: VMRUN doesn't use nextrip
author
Christoph Egger
<Christoph.Egger@amd.com>
Wed, 31 Aug 2011 14:15:41 +0000
(15:15 +0100)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/svm/nestedsvm.c
b/xen/arch/x86/hvm/svm/nestedsvm.c
index ba7683b25a3b5fe1cb42d9ed774c4d1bfdf39609..bbd8866c1de3c514b5fa8f3b9c258f0f5f3eb8d3 100644
(file)
--- 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