Re: [PATCH 18/22] kvm: mmu: Support disabling dirty logging for the tdp MMU
From: Paolo Bonzini
Date: Wed Oct 07 2020 - 13:53:57 EST
On 07/10/20 19:28, Ben Gardon wrote:
>> No, that would be just another way to write the same thing. That said,
>> making the iteration API more complicated also has disadvantages because
>> if get a Cartesian explosion of changes.
> I wouldn't be too worried about that. The only things I ever found
> worth making an iterator case for were:
> Every SPTE
> Every present SPTE
> Every present leaf SPTE
* (vcpu, root) * (all levels, large only)
We only need a small subset of these, but the naming would be more
complex at least.
Paolo