Re: [PATCH v2 15/20] kvm: x86/mmu: Support dirty logging for the TDP MMU
From: Paolo Bonzini
Date: Fri Oct 16 2020 - 12:18:50 EST
On 14/10/20 20:26, Ben Gardon wrote:
>
> + if (kvm->arch.tdp_mmu_enabled)
> + kvm_tdp_mmu_clear_dirty_pt_masked(kvm, slot,
> + slot->base_gfn + gfn_offset, mask, true);
This was "false" in v1, I need --verbose for this change. :)
> while (mask) {
> rmap_head = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask),
> + spte_set = wrprot_gfn_range(kvm, root, slot->base_gfn,
> + slot->base_gfn + slot->npages, min_level) ||
> + spte_set;
A few remaining instances of ||.
Paolo