Re: [PATCH 02/16] KVM: x86/mmu: Introduce a slot flag to zap only slot leafs on slot deletion

Paolo Bonzini
2024-05-17T15:30:57Z

On 5/16/24 01:20, Sean Christopherson wrote:
> Hmm, a quirk isn't a bad idea. It suffers the same problems as a memslot flag,
> i.e. who knows when it's safe to disable the quirk, but I would hope userspace
> would be much, much cautious about disabling a quirk that comes with a massive
> disclaimer.
>
> Though I suspect Paolo will shoot this down too 😉

Not really, it's probably the least bad option. Not as safe as keying
it off the new machine types, but less ugly.

Paolo