On Thu, Jul 11, 2024 at 06:27:54PM -0400, Paolo Bonzini wrote: > While currently there is no other attribute than KVM_MEMORY_ATTRIBUTE_PRIVATE, > KVM code such as kvm_mem_is_private() is written to expect their existence. > Allow using kvm_range_has_memory_attributes() as a multi-page version of > kvm_mem_is_private(), without it breaking later when more attributes are > introduced. > > Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> Reviewed-by: Michael Roth <michael.roth@xxxxxxx>