函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kvm_register_steal_time

函数原型:static void kvm_register_steal_time(void)

返回类型:void

参数:

283  cpu等于当前cpu ID()
284  st等于per_cpu(steal_time, cpu)
286  如果非has_steal_clock则返回
289  wrmsrl(MSR_KVM_STEAL_TIME, (slow_virt_to_phys(st) | KVM_MSR_ENABLED))
290  打印信息("kvm-stealtime: cpu %d, msr %llx\n", cpu, (unsignedlonglong)slow_virt_to_phys(st))
调用者
名称描述
kvm_guest_cpu_init