Searched refs:kvm_read_cr0 (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/arch/x86/kvm/ |
D | kvm_cache_regs.h | 148 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0() function
|
D | pmu.c | 423 (kvm_read_cr0(vcpu) & X86_CR0_PE)) in kvm_pmu_rdpmc()
|
D | x86.c | 933 unsigned long old_cr0 = kvm_read_cr0(vcpu); in kvm_set_cr0() 7887 value = kvm_read_cr0(vcpu); in emulator_get_cr() 7916 res = kvm_set_cr0(vcpu, mk_cr_64(kvm_read_cr0(vcpu), val)); in emulator_set_cr() 10146 put_smstate(u32, buf, 0x7ffc, kvm_read_cr0(vcpu)); in enter_smm_save_state_32() 10208 put_smstate(u64, buf, 0x7f58, kvm_read_cr0(vcpu)); in enter_smm_save_state_64() 11317 sregs->cr0 = kvm_read_cr0(vcpu); in __get_sregs_common() 11520 *mmu_reset_needed |= kvm_read_cr0(vcpu) != sregs->cr0; in __set_sregs_common() 11994 unsigned long old_cr0 = kvm_read_cr0(vcpu); in kvm_vcpu_reset()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | nested.c | 858 vmcb01->save.cr0 = kvm_read_cr0(vcpu); in nested_svm_vmrun() 966 vmcb12->save.cr0 = kvm_read_cr0(vcpu); in nested_svm_vmexit() 1629 cr0 = kvm_read_cr0(vcpu); in svm_set_nested_state()
|
D | svm.c | 2573 val = kvm_read_cr0(vcpu); in cr_interception() 2610 old_value = kvm_read_cr0(vcpu); in cr_trap()
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | vmx.c | 5384 trace_kvm_cr_write(0, (kvm_read_cr0(vcpu) & ~0xful) | val); in handle_cr() 7463 if (kvm_read_cr0(vcpu) & X86_CR0_CD) { in vmx_get_mt_mask()
|
D | nested.c | 5146 if (!nested_host_cr0_valid(vcpu, kvm_read_cr0(vcpu)) || in handle_vmxon()
|