Re: [RFC PATCH v2 02/25] KVM: SVM: Passthrough the number of supported ASIDs

From: Jim Mattson

Date: Wed Jul 15 2026 - 02:33:01 EST


On Tue, Jul 14, 2026 at 4:41 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:

> What complications? Advertise the lowest common feature set for the pool, just
> like userspace has to do for literally every other feature.

The problem with passing through the number of host ASIDs to the guest
is what to do when the combined host plus guest usage exceeds the
number of available ASIDs, particularly when FlushByASID is not
available.