]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
KVM: SVM: Restore tracing of nested vmcb address
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 24 Feb 2010 17:59:13 +0000 (18:59 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 10:53:07 +0000 (13:53 +0300)
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>
arch/x86/kvm/svm.c

index 9f1143105e00e98b311606d622f0f7f8c3d616a0..2e4e089646a7ba889314d2a054ccd8c77716a65e 100644 (file)
@@ -1839,7 +1839,7 @@ static bool nested_svm_vmrun(struct vcpu_svm *svm)
        if (!nested_vmcb)
                return false;
 
-       trace_kvm_nested_vmrun(svm->vmcb->save.rip - 3, svm->nested.vmcb,
+       trace_kvm_nested_vmrun(svm->vmcb->save.rip - 3, vmcb_gpa,
                               nested_vmcb->save.rip,
                               nested_vmcb->control.int_ctl,
                               nested_vmcb->control.event_inj,