Searched refs:old_cr4 (Results 1 – 2 of 2) sorted by relevance
1304 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4) in kvm_post_set_cr4() argument1306 if ((cr4 ^ old_cr4) & KVM_MMU_CR4_ROLE_BITS) in kvm_post_set_cr4()1318 (cr4 & X86_CR4_PCIDE) && !(old_cr4 & X86_CR4_PCIDE)) in kvm_post_set_cr4()1329 if (((cr4 ^ old_cr4) & X86_CR4_PGE) || in kvm_post_set_cr4()1330 (!(cr4 & X86_CR4_PCIDE) && (old_cr4 & X86_CR4_PCIDE))) in kvm_post_set_cr4()1339 else if (((cr4 ^ old_cr4) & X86_CR4_PAE) || in kvm_post_set_cr4()1340 ((cr4 & X86_CR4_SMEP) && !(old_cr4 & X86_CR4_SMEP))) in kvm_post_set_cr4()1348 unsigned long old_cr4 = kvm_read_cr4(vcpu); in kvm_set_cr4() local1356 if ((cr4 ^ old_cr4) & X86_CR4_LA57) in kvm_set_cr4()1359 && ((cr4 ^ old_cr4) & X86_CR4_PDPTR_BITS) in kvm_set_cr4()[all …]
1922 unsigned long old_cr4 = vcpu->arch.cr4; in svm_set_cr4() local1924 if (npt_enabled && ((old_cr4 ^ cr4) & X86_CR4_PGE)) in svm_set_cr4()1938 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()