On Tue, 2025-07-08 at 11:55 -0700, Sean Christopherson wrote: > I think the answer is that we want to let guest_memfd live beyond the "struct kvm" > instance, but not beyond the Virtual Machine. From a past discussion on this topic[*]. > > [snip] > Exactly what that will look like in code is TBD, but the concept/logic holds up. > > [*] https://lore.kernel.org/all/ZOO782YGRY0YMuPu@xxxxxxxxxx Thanks for digging this up. Makes sense. One gmemfd per VM, but struct kvm != a VM.