Searched refs:old_cr4 (Results 1 – 4 of 4) sorted by relevance
1121 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4) in kvm_post_set_cr4() argument1123 if ((cr4 ^ old_cr4) & KVM_MMU_CR4_ROLE_BITS) in kvm_post_set_cr4()1135 (cr4 & X86_CR4_PCIDE) && !(old_cr4 & X86_CR4_PCIDE)) in kvm_post_set_cr4()1146 if (((cr4 ^ old_cr4) & X86_CR4_PGE) || in kvm_post_set_cr4()1147 (!(cr4 & X86_CR4_PCIDE) && (old_cr4 & X86_CR4_PCIDE))) in kvm_post_set_cr4()1156 else if (((cr4 ^ old_cr4) & X86_CR4_PAE) || in kvm_post_set_cr4()1157 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()1165 unsigned long old_cr4 = kvm_read_cr4(vcpu); in kvm_set_cr4() local1173 if ((cr4 ^ old_cr4) & X86_CR4_LA57) in kvm_set_cr4()1176 && ((cr4 ^ old_cr4) & X86_CR4_PDPTR_BITS) in kvm_set_cr4()[all …]
1829 unsigned long old_cr4 = vcpu->arch.cr4; in svm_set_cr4() local1831 if (npt_enabled && ((old_cr4 ^ cr4) & X86_CR4_PGE)) in svm_set_cr4()1845 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()
1854 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4);
3290 unsigned long old_cr4 = vcpu->arch.cr4; in vmx_set_cr4() local3348 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in vmx_set_cr4()