KVM: call kvm_arch_vcpu_reset() instead of the kvm_x86_ops callback
authorGleb Natapov <gleb@redhat.com>
Mon, 23 Mar 2009 20:51:19 +0000 (17:51 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:57:04 +0000 (10:57 -0700)
commit3ddbf793d09ede441eb2e7b9663e8c777840377d
tree89f408ab829b95f96f73c77b9d06224078335daa
parentff61781ec0194ae5a644b4e1114a4ca62d138749
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>
arch/x86/kvm/x86.c