Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/
Dkvm_cache_regs.h125 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0() function
Dpmu.c379 (kvm_read_cr0(vcpu) & X86_CR0_PE)) in kvm_pmu_rdpmc()
Dx86.c832 unsigned long old_cr0 = kvm_read_cr0(vcpu); in kvm_set_cr0()
6750 value = kvm_read_cr0(vcpu); in emulator_get_cr()
6779 res = kvm_set_cr0(vcpu, mk_cr_64(kvm_read_cr0(vcpu), val)); in emulator_set_cr()
8675 put_smstate(u32, buf, 0x7ffc, kvm_read_cr0(vcpu)); in enter_smm_save_state_32()
8737 put_smstate(u64, buf, 0x7f58, kvm_read_cr0(vcpu)); in enter_smm_save_state_64()
9726 sregs->cr0 = kvm_read_cr0(vcpu); in __get_sregs()
9886 mmu_reset_needed |= kvm_read_cr0(vcpu) != sregs->cr0; in __set_sregs()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dnested.c561 hsave->save.cr0 = kvm_read_cr0(&svm->vcpu); in nested_svm_vmrun()
650 vmcb12->save.cr0 = kvm_read_cr0(&svm->vcpu); in nested_svm_vmexit()
1220 cr0 = kvm_read_cr0(vcpu); in svm_set_nested_state()
Dsvm.c2390 val = kvm_read_cr0(&svm->vcpu); in cr_interception()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c5162 trace_kvm_cr_write(0, kvm_read_cr0(vcpu)); in handle_cr()
5181 trace_kvm_cr_write(0, (kvm_read_cr0(vcpu) & ~0xful) | val); in handle_cr()
7201 if (kvm_read_cr0(vcpu) & X86_CR0_CD) { in vmx_get_mt_mask()
Dnested.c4964 if (!nested_host_cr0_valid(vcpu, kvm_read_cr0(vcpu)) || in handle_vmon()