diff options
author | Roman Kagan <rkagan@virtuozzo.com> | 2018-02-01 16:48:31 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-03-06 18:19:03 +0100 |
commit | cbc0236a4b3e6a64f5b8bee27b530c7f8bee8d56 (patch) | |
tree | d05b828cc09e73ccd1e250beff340d3f14f91b81 /arch/x86/kvm/hyperv.h | |
parent | 661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff) | |
download | op-kernel-dev-cbc0236a4b3e6a64f5b8bee27b530c7f8bee8d56.zip op-kernel-dev-cbc0236a4b3e6a64f5b8bee27b530c7f8bee8d56.tar.gz |
kvm: x86: factor out kvm.arch.hyperv (de)init
Move kvm.arch.hyperv initialization and cleanup to separate functions.
For now only a mutex is inited in the former, and the latter is empty;
more stuff will go in there in a followup patch.
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/hyperv.h')
-rw-r--r-- | arch/x86/kvm/hyperv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h index e637631..cc24682 100644 --- a/arch/x86/kvm/hyperv.h +++ b/arch/x86/kvm/hyperv.h @@ -88,4 +88,7 @@ void kvm_hv_process_stimers(struct kvm_vcpu *vcpu); void kvm_hv_setup_tsc_page(struct kvm *kvm, struct pvclock_vcpu_time_info *hv_clock); +void kvm_hv_init_vm(struct kvm *kvm); +void kvm_hv_destroy_vm(struct kvm *kvm); + #endif |