Re: [RFC PATCH v5 045/104] KVM: x86/tdp_mmu: make REMOVED_SPTE include shadow_initial value

From: Paolo Bonzini
Date: Thu Apr 07 2022 - 09:53:09 EST


On 4/7/22 01:35, Sean Christopherson wrote:
Please rename the existing REMOVED_SPTE to REMOVED_SPTE_MASK, and call this
simply REMOVED_SPTE. This also makes the patch smaller.
Can we name it either __REMOVE_SPTE or REMOVED_SPTE_VAL? It's most definitely
not a mask, it's a full value, e.g. spte |= REMOVED_SPTE_MASK is completely wrong.

REMOVED_SPTE_VAL is fine.

Paolo