函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kvm.c Create Date:2022-07-27 09:43:55
Last Modify:2020-03-16 21:33:46 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kvm_guest_init

函数原型:static void __init kvm_guest_init(void)

返回类型:void

参数:

614  paravirt_ops_setup()
615  register_reboot_notifier( & kvm_pv_reboot_nb)
616 i小于KVM_TASK_SLEEP_HASHSIZE循环raw_spin_lock_init( & lock)
618  如果kvm_para_has_feature(KVM_FEATURE_ASYNC_PF)则陷阱设置等于kvm_apf_trap_init
621  如果kvm_para_has_feature(KVM_FEATURE_STEAL_TIME)则
622  has_steal_clock等于1
623  steal_clock等于kvm_steal_clock
626  如果kvm_para_has_feature(KVM_FEATURE_PV_TLB_FLUSH)且非kvm_para_has_hint(KVM_HINTS_REALTIME)且kvm_para_has_feature(KVM_FEATURE_STEAL_TIME)则
629  flush_tlb_others等于kvm_flush_tlb_others
630  tlb_remove_table等于tlb_remove_table
633  如果kvm_para_has_feature(KVM_FEATURE_PV_EOI)则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()