Searched refs:kvm_read_cr4 (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/arch/x86/kvm/ |
D | kvm_cache_regs.h | 146 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4() function
|
D | pmu.c | 375 if (!(kvm_read_cr4(vcpu) & X86_CR4_PCE) && in kvm_pmu_rdpmc()
|
D | x86.c | 981 unsigned long old_cr4 = kvm_read_cr4(vcpu); in kvm_set_cr4() 6572 value = kvm_read_cr4(vcpu); in emulator_get_cr() 6601 res = kvm_set_cr4(vcpu, mk_cr_64(kvm_read_cr4(vcpu), val)); in emulator_set_cr() 8446 put_smstate(u32, buf, 0x7f14, kvm_read_cr4(vcpu)); in enter_smm_save_state_32() 8474 put_smstate(u64, buf, 0x7f48, kvm_read_cr4(vcpu)); in enter_smm_save_state_64() 9440 sregs->cr4 = kvm_read_cr4(vcpu); in __get_sregs() 9599 mmu_reset_needed |= kvm_read_cr4(vcpu) != sregs->cr4; in __set_sregs() 9600 cpuid_update_needed |= ((kvm_read_cr4(vcpu) ^ sregs->cr4) & in __set_sregs()
|
/Linux-v5.10/arch/x86/kvm/svm/ |
D | svm.c | 2395 val = kvm_read_cr4(&svm->vcpu); in cr_interception() 4138 cr4 = kvm_read_cr4(vcpu); in svm_can_emulate_instruction()
|
/Linux-v5.10/arch/x86/kvm/vmx/ |
D | vmx.c | 2989 vmx_set_cr4(vcpu, kvm_read_cr4(vcpu)); in ept_update_paging_mode_cr0() 2995 vmx_set_cr4(vcpu, kvm_read_cr4(vcpu)); in ept_update_paging_mode_cr0()
|