Re: [PATCH v4 2/2] KVM: move vcpu id checking to archs

Greg Kurz
2016-04-25T14:30:54Z

On Mon, 25 Apr 2016 16:15:22 +0200
Radim Krčmář <rkrcmar@redhat.com> wrote:

> 2016-04-22 16:50+0200, Greg Kurz:
> > Just to be sure I haven't missed something:
> > - change the spec to introduce the MAX_VCPU_ID concept
> > - update all related checks in KVM
> > - provide a KVM_CAP_MAX_VCPU_ID for userspace
>
> That is it, thanks a lot!
>
> (From nitpicks that come to my mind ... MAX_VCPU_ID should not be able
> to lower the VCPU_ID limit below MAX_VCPUS.)
>

Indeed it shouldn't. Thanks for the tip !