Re: [PATCH 4/4] KVM: x86: enable configurable MAX_VCPU

2017-04-24 Thread Radim Krčmář
2017-04-19 10:08+0200, Christian Borntraeger: > On 04/13/2017 10:19 PM, Radim Krčmář wrote: >> The only user of KVM_MAX_VCPU is switched to kvm->max_vcpu. >> >> The limit could have been INT_MAX as it makes no difference, but there >> is no point in making it bigger than KVM_MAX_VCPU_ID. >> >> Si

Re: [PATCH 4/4] KVM: x86: enable configurable MAX_VCPU

2017-04-19 Thread Christian Borntraeger
On 04/13/2017 10:19 PM, Radim Krčmář wrote: > The only user of KVM_MAX_VCPU is switched to kvm->max_vcpu. > > The limit could have been INT_MAX as it makes no difference, but there > is no point in making it bigger than KVM_MAX_VCPU_ID. > > Signed-off-by: Radim Krčmář > --- > arch/x86/include/a