Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kvm.c Create Date:2022-07-28 08:44:47
Last Modify:2020-03-16 21:33:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kvm_guest_init

Proto:static void __init kvm_guest_init(void)

Type:void

Parameter:Nothing

614  paravirt_ops_setup()
615  register_reboot_notifier( & kvm_pv_reboot_nb)
616  When i < KVM_TASK_SLEEP_HASHSIZE cycle raw_spin_lock_init( & lock)
618  If kvm_para_has_feature(KVM_FEATURE_ASYNC_PF) Then trap_init = kvm_apf_trap_init
621  If kvm_para_has_feature(KVM_FEATURE_STEAL_TIME) Then
622  has_steal_clock = 1
623  steal_clock = kvm_steal_clock
626  If kvm_para_has_feature(KVM_FEATURE_PV_TLB_FLUSH) && Not kvm_para_has_hint(KVM_HINTS_REALTIME) && kvm_para_has_feature(KVM_FEATURE_STEAL_TIME) Then
629  flush_tlb_others = kvm_flush_tlb_others
630  tlb_remove_table = tlb_remove_table
633  If kvm_para_has_feature(KVM_FEATURE_PV_EOI) Then Override the generic EOI implementation with an optimized version.* Only called during early boot when only one CPU is active and with* interrupts disabled, so we know this does not race with actual APIC driver* use.
649  Iterate through all possible CPUs and map the memory region pointed* by apf_reason, steal_time and kvm_apic_eoi as decrypted at once
650  kvm_guest_cpu_init()
658  hardlockup_detector_disable()