Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/uapi/asm/
Dkvm_para.h50 #define KVM_MSR_ENABLED 1 macro
/linux-6.1.9/tools/testing/selftests/kvm/
Dsteal_time.c43 GUEST_ASSERT(rdmsr(MSR_KVM_STEAL_TIME) == ((uint64_t)st_gva[cpu] | KVM_MSR_ENABLED)); in guest_code()
78 vcpu_set_msr(vcpu, MSR_KVM_STEAL_TIME, (ulong)st_gva[i] | KVM_MSR_ENABLED); in steal_time_init()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dkvm_clock_test.c38 wrmsr(MSR_KVM_SYSTEM_TIME_NEW, pvti_pa | KVM_MSR_ENABLED); in guest_main()
/linux-6.1.9/arch/x86/kernel/
Dkvm.c328 wrmsrl(MSR_KVM_STEAL_TIME, (slow_virt_to_phys(st) | KVM_MSR_ENABLED)); in kvm_register_steal_time()
376 | KVM_MSR_ENABLED; in kvm_guest_cpu_init()
/linux-6.1.9/arch/x86/kvm/
Dlapic.c731 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()
3000 u64 addr = data & ~KVM_MSR_ENABLED; in kvm_lapic_set_pv_eoi()
3008 if (data & KVM_MSR_ENABLED) { in kvm_lapic_set_pv_eoi()
Dhyperv.c896 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
1481 gfn_to_gpa(gfn) | KVM_MSR_ENABLED, in kvm_hv_set_msr()
Dx86.c3457 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()
3749 if (!(data & KVM_MSR_ENABLED)) in kvm_set_msr_common()
4764 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted()