[RFC PATCH 23/37] KVM: MMU: Move VM-level TDP MMU state to struct kvm

Oliver Upton oliver.upton at linux.dev
Fri Dec 9 09:31:53 PST 2022


Hey David,

On Thu, Dec 08, 2022 at 11:38:43AM -0800, David Matlack wrote:
> Move VM-level TDP MMU state to struct kvm so it can be accessed by
> common code in a future commit.
> 
> No functional change intended.

Could you instead introduce a structure to hold all of the MMU state and
stick that in struct kvm? If the goal is to eventually supersede all
uses of the arm64 pgtable library we are going to need the ability to
operate outside of a KVM VM context.

--
Thanks,
Oliver



More information about the kvm-riscv mailing list