aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-02-24 12:59:13 -0500
committerAvi Kivity <avi@redhat.com>2010-04-25 06:53:07 -0400
commitecf1405df235da3efea213427ac7da7f816e9d06 (patch)
tree55e585e210eac216889e1f9fd7f8e2ce7dc9f4bb /arch/x86/kvm/svm.c
parent887f500ca1a721cac237ba56374b9c0f578251ec (diff)
KVM: SVM: Restore tracing of nested vmcb address
A recent change broke tracing of the nested vmcb address. It was reported as 0 all the time. This patch fixes it. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 9f1143105e0..2e4e089646a 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1839,7 +1839,7 @@ static bool nested_svm_vmrun(struct vcpu_svm *svm)
1839 if (!nested_vmcb) 1839 if (!nested_vmcb)
1840 return false; 1840 return false;
1841 1841
1842 trace_kvm_nested_vmrun(svm->vmcb->save.rip - 3, svm->nested.vmcb, 1842 trace_kvm_nested_vmrun(svm->vmcb->save.rip - 3, vmcb_gpa,
1843 nested_vmcb->save.rip, 1843 nested_vmcb->save.rip,
1844 nested_vmcb->control.int_ctl, 1844 nested_vmcb->control.int_ctl,
1845 nested_vmcb->control.event_inj, 1845 nested_vmcb->control.event_inj,