Function report | 
Source Code:arch\x86\kernel\kvm.c | 
Create Date:2022-07-28 08:44:42 | 
| Last Modify:2020-03-16 21:33:46 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kvm_guest_cpu_init
Proto:static void kvm_guest_cpu_init(void)
Type:void
Parameter:Nothing
| 312 | If kvm_para_has_feature(KVM_FEATURE_ASYNC_PF) && kvmapf Then | 
| 313 | pa = slow_virt_to_phys(this_cpu_ptr( & apf_reason)) | 
| 318 | pa |= KVM_ASYNC_PF_ENABLED | 
| 320 | If kvm_para_has_feature(KVM_FEATURE_ASYNC_PF_VMEXIT) Then pa |= KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT | 
| 323 | wrmsrl(MSR_KVM_ASYNC_PF_EN, pa) | 
| 324 | __this_cpu_write(enabled, 1) | 
| 325 | printk(formational "KVM setup async PF for cpu %d\n", smp_processor_id()) | 
| 329 | If kvm_para_has_feature(KVM_FEATURE_PV_EOI) Then | 
| 333 | __this_cpu_write(kvm_apic_eoi, 0) | 
| 334 | pa = slow_virt_to_phys(this_cpu_ptr( & kvm_apic_eoi)) | KVM_MSR_ENABLED | 
| 336 | wrmsrl(MSR_KVM_PV_EOI_EN, pa) | 
| 339 | If has_steal_clock Then kvm_register_steal_time() | 
| Name | Describe | 
|---|---|
| kvm_guest_init | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |