Re: [PATCH v2 10/29] KVM: SVM: Use a static ASID per vCPU

From: Yosry Ahmed

Date: Wed Oct 14 2026 - 20:02:52 EST


> > @@ -1375,6 +1370,12 @@ static int svm_vcpu_create(struct kvm_vcpu *vcpu)
> > goto error_free_avic;
> > }
> >
> > + svm->asid = allocate_asid(vcpu);
> > + if (!svm->asid) {
> > + err = -EINVAL;
>
> It seems like -ENOSPC is more appropriate, and would make triaging
> this failure easier.

Can do!