[PATCH] KVM: Wrap kvm_{gfn,hva}_range.pte in a per-action union
Sean Christopherson
seanjc at google.com
Thu Aug 17 17:08:36 PDT 2023
On Fri, 28 Jul 2023 17:41:44 -0700, Sean Christopherson wrote:
> Wrap kvm_{gfn,hva}_range.pte in a union so that future notifier events can
> pass event specific information up and down the stack without needing to
> constantly expand and churn the APIs. Lockless aging of SPTEs will pass
> around a bitmap, and support for memory attributes will pass around the
> new attributes for the range.
>
> Add a "KVM_NO_ARG" placeholder to simplify handling events without an
> argument (creating a dummy union variable is midly annoying).
>
> [...]
Applied to kvm-x86 generic, with KVM_MMU_NOTIFIER_NO_ARG as suggested by Oliver.
[1/1] KVM: Wrap kvm_{gfn,hva}_range.pte in a per-action union
https://github.com/kvm-x86/linux/commit/3e1efe2b67d3
--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
More information about the kvm-riscv
mailing list