KVM: PPC: Move kvm_vcpu_init() invocation to common code
Move the kvm_cpu_{un}init() calls to common PPC code as an intermediate step towards removing kvm_cpu_{un}init() altogether. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
此提交包含在:
@@ -789,10 +789,9 @@ void kvmppc_decrementer_func(struct kvm_vcpu *vcpu)
|
||||
kvm_vcpu_kick(vcpu);
|
||||
}
|
||||
|
||||
int kvmppc_core_vcpu_create(struct kvm *kvm, struct kvm_vcpu *vcpu,
|
||||
unsigned int id)
|
||||
int kvmppc_core_vcpu_create(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
return kvm->arch.kvm_ops->vcpu_create(kvm, vcpu, id);
|
||||
return vcpu->kvm->arch.kvm_ops->vcpu_create(vcpu);
|
||||
}
|
||||
|
||||
void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu)
|
||||
|
新增問題並參考
封鎖使用者