diff options
| author | Gleb Natapov <gleb@redhat.com> | 2009-03-23 17:51:19 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-02 10:57:04 -0700 |
| commit | 3ddbf793d09ede441eb2e7b9663e8c777840377d (patch) | |
| tree | 89f408ab829b95f96f73c77b9d06224078335daa | |
| parent | ff61781ec0194ae5a644b4e1114a4ca62d138749 (diff) | |
| download | linux-3ddbf793d09ede441eb2e7b9663e8c777840377d.tar.gz linux-3ddbf793d09ede441eb2e7b9663e8c777840377d.tar.bz2 linux-3ddbf793d09ede441eb2e7b9663e8c777840377d.zip | |
KVM: call kvm_arch_vcpu_reset() instead of the kvm_x86_ops callback
(cherry picked from 5f179287fa02723215eecf681d812b303c243973)
Call kvm_arch_vcpu_reset() instead of directly using arch callback.
The function does additional things.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| -rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 1a71f6735593..4e2135a780b2 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -2973,7 +2973,7 @@ static int __vcpu_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) pr_debug("vcpu %d received sipi with vector # %x\n", vcpu->vcpu_id, vcpu->arch.sipi_vector); kvm_lapic_reset(vcpu); - r = kvm_x86_ops->vcpu_reset(vcpu); + r = kvm_arch_vcpu_reset(vcpu); if (r) return r; vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; |
