Home
last modified time | relevance | path

Searched refs:shared_msrs_global (Results 1 – 1 of 1) sorted by relevance

/arch/x86/kvm/
Dx86.c145 static struct kvm_shared_msrs_global __read_mostly shared_msrs_global; variable
215 for (slot = 0; slot < shared_msrs_global.nr; ++slot) { in kvm_on_user_return()
218 wrmsrl(shared_msrs_global.msrs[slot], values->host); in kvm_on_user_return()
232 if (slot >= shared_msrs_global.nr) { in shared_msr_update()
244 shared_msrs_global.msrs[slot] = msr; in kvm_define_shared_msr()
245 if (slot >= shared_msrs_global.nr) in kvm_define_shared_msr()
246 shared_msrs_global.nr = slot + 1; in kvm_define_shared_msr()
254 for (i = 0; i < shared_msrs_global.nr; ++i) in kvm_shared_msr_cpu_online()
255 shared_msr_update(i, shared_msrs_global.msrs[i]); in kvm_shared_msr_cpu_online()
267 err = wrmsrl_safe(shared_msrs_global.msrs[slot], value); in kvm_set_shared_msr()