]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: replace 0x180 with EPT_VIOLATION_* definition
authorSU Hang <darcy.sh@antgroup.com>
Tue, 29 Mar 2022 03:01:06 +0000 (11:01 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Apr 2022 17:37:19 +0000 (13:37 -0400)
commita4f00959579202c43089f55873e604c374d7e445
treeb4b0115f524c53683be74033cfb780ecb49fbd65
parent7f50ec88eb5b6f02318bbb7e45ce0c8f5296ef22
KVM: VMX: replace 0x180 with EPT_VIOLATION_* definition

Using self-expressing macro definition EPT_VIOLATION_GVA_VALIDATION
and EPT_VIOLATION_GVA_TRANSLATED instead of 0x180
in FNAME(walk_addr_generic)().

Signed-off-by: SU Hang <darcy.sh@antgroup.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220329030108.97341-2-darcy.sh@antgroup.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/mmu/paging_tmpl.h