diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2012-11-27 20:29:02 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-11-27 20:29:14 -0500 |
commit | 42897d866b120547777ae1fd316680ec53356d9c (patch) | |
tree | 29eb544b4361d964dab0d1b3e27f9f2e64597daf /arch/ia64/kvm | |
parent | d828199e84447795c6669ff0e6c6d55eb9beeff6 (diff) |
KVM: x86: add kvm_arch_vcpu_postcreate callback, move TSC initialization
TSC initialization will soon make use of online_vcpus.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/ia64/kvm')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index c71acd7f9a13..83b54530916e 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1330,6 +1330,11 @@ int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) | |||
1330 | return 0; | 1330 | return 0; |
1331 | } | 1331 | } |
1332 | 1332 | ||
1333 | int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) | ||
1334 | { | ||
1335 | return 0; | ||
1336 | } | ||
1337 | |||
1333 | int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) | 1338 | int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) |
1334 | { | 1339 | { |
1335 | return -EINVAL; | 1340 | return -EINVAL; |