Re: [RFC PATCH v2 41/69] KVM: x86: Add infrastructure for stolen GPA bits
From: Kai Huang
Date: Fri Aug 06 2021 - 18:24:33 EST
On Fri, 6 Aug 2021 22:09:35 +0000 Sean Christopherson wrote:
> On Sat, Aug 07, 2021, Kai Huang wrote:
> > So could we have your final suggestion? :)
>
> Try the kvm_mmu_page_role.private approach. So long as it doesn't end up splattering
> code everywhere, I think that's more aligned with how KVM generally wants to treat
> the shared bit.
OK.
>
> In the changelog for this patch, make it very clear that ensuring different aliases
> get different shadow page (if necessary) is the responsiblity of each individual
> feature that leverages stolen gfn bits.
Make sense. Thanks.