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:40
Last Modify:2020-03-16 21:33:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kvm_register_steal_time

Proto:static void kvm_register_steal_time(void)

Type:void

Parameter:Nothing

283  cpu = smp_processor_id()
284  st = per_cpu(steal_time, cpu)
286  If Not has_steal_clock Then Return
289  wrmsrl(MSR_KVM_STEAL_TIME, (slow_virt_to_phys(st) | KVM_MSR_ENABLED))
290  pr_info("kvm-stealtime: cpu %d, msr %llx\n", cpu, (unsignedlonglong)slow_virt_to_phys(st))
Caller
NameDescribe
kvm_guest_cpu_init