KVM: SVM: Make sure rip is synced to vmcb before nested vmexit
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Apr 2010 10:33:08 +0000 (12:33 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:18 +0000 (12:19 +0300)
commit2041a06a50a2ef4062c8454482aa06e25f6cccde
treefa40065df7293dc8057db6ba098256f3fd05dbfd
parent924584ccb08c338ebd2f40936ff2321c1cce6a6d
KVM: SVM: Make sure rip is synced to vmcb before nested vmexit

This patch fixes a bug where a nested guest always went over
the same instruction because the rip was not advanced on a
nested vmexit.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c