Home
last modified time | relevance | path

Searched refs:old_cr0 (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/x86/kvm/
Dx86.c929 void kvm_post_set_cr0(struct kvm_vcpu *vcpu, unsigned long old_cr0, unsigned long cr0) in kvm_post_set_cr0() argument
939 if ((cr0 ^ old_cr0) == X86_CR0_WP) { in kvm_post_set_cr0()
949 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_post_set_cr0()
961 if ((cr0 ^ old_cr0) & KVM_MMU_CR0_ROLE_BITS) in kvm_post_set_cr0()
964 if (((cr0 ^ old_cr0) & X86_CR0_CD) && in kvm_post_set_cr0()
973 unsigned long old_cr0 = kvm_read_cr0(vcpu); in kvm_set_cr0() local
996 is_pae(vcpu) && ((cr0 ^ old_cr0) & X86_CR0_PDPTR_BITS) && in kvm_set_cr0()
1006 kvm_post_set_cr0(vcpu, old_cr0, cr0); in kvm_set_cr0()
12019 unsigned long old_cr0 = kvm_read_cr0(vcpu); in kvm_vcpu_reset() local
12030 (old_cr0 || kvm_read_cr3(vcpu) || kvm_read_cr4(vcpu))); in kvm_vcpu_reset()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dkvm_host.h1984 void kvm_post_set_cr0(struct kvm_vcpu *vcpu, unsigned long old_cr0, unsigned long cr0);