On Tue, Mar 18, 2014 at 09:45:15PM +0100, Antonios Motakis wrote: > Just return the default KVM_USER_MEM_SLOTS. This is consistent with the > KVM implementation on other architectures. > > Signed-off-by: Nikolay Nikolaev <n.nikolaev@xxxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Antonios Motakis <a.motakis@xxxxxxxxxxxxxxxxxxxxxx> > --- > arch/arm/kvm/arm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c > index bd18bb8..3f0b70a 100644 > --- a/arch/arm/kvm/arm.c > +++ b/arch/arm/kvm/arm.c > @@ -211,6 +211,9 @@ int kvm_dev_ioctl_check_extension(long ext) > case KVM_CAP_MAX_VCPUS: > r = KVM_MAX_VCPUS; > break; > + case KVM_CAP_NR_MEMSLOTS: > + r = KVM_USER_MEM_SLOTS; > + break; > default: > r = kvm_arch_dev_ioctl_check_extension(ext); > break; > -- > 1.8.3.2 > Acked-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> (Note sending this as in-reply-to the other unrelated patch is a bit weird, a cover letter with both patches being in-reply-to that or just two separate patches would look nicer, imho). _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm