[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs |
Date: |
Fri, 22 Apr 2016 12:22:10 +0200 |
On Fri, 22 Apr 2016 11:25:38 +0200
Greg Kurz <address@hidden> wrote:
> On Thu, 21 Apr 2016 19:36:11 +0200
> Radim Krčmář <address@hidden> wrote:
> > > For other architectures, it is simply KVM_MAX_VCPUS.
> >
> > (Other architectures would not implement the capability.)
> >
>
> So this would be KVM_CAP_PPC_MAX_VCPU_ID ?
>
> > >> I think this would also clarify the connection between VCPU limit and
> > >> VCPU_ID limit. Or is a boolean cap better?
> > >>
> > >
> > > Well, I'm not fan of adding a generic API to handle a corner case...
> >
> > I don't like it either, but I think that introducing the capability is
> > worth avoided problems.
> >
>
> I admit that having separate capabilities for the number of vcpus and the
> maximum vcpu id fixes the confusion once and for all.
Yes, and I think that the new max_vpcu_id cap should be generic for
that reason.
- [Qemu-ppc] [PATCH v4 0/2] let archs decide for vcpu ids, Greg Kurz, 2016/04/21
- [Qemu-ppc] [PATCH v4 1/2] KVM: remove NULL return path for vcpu ids >= KVM_MAX_VCPUS, Greg Kurz, 2016/04/21
- [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Greg Kurz, 2016/04/21
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Radim Krčmář, 2016/04/21
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Greg Kurz, 2016/04/21
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Radim Krčmář, 2016/04/21
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Greg Kurz, 2016/04/22
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs,
Cornelia Huck <=
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Igor Mammedov, 2016/04/22
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Radim Krčmář, 2016/04/22
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Radim Krčmář, 2016/04/22
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Greg Kurz, 2016/04/22
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Radim Krčmář, 2016/04/25
- Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Greg Kurz, 2016/04/25
Re: [Qemu-ppc] [PATCH v4 2/2] KVM: move vcpu id checking to archs, Wei Yang, 2016/04/22