lxc: allow getting < max typed parameters
lxc: allow getting < max typed parameters

Allow the user to call with nparams too small, per API documentation.
Also, libvirt.c filters out nparams of 0 for scheduler parameters.

* src/lxc/lxc_driver.c (lxcDomainGetMemoryParameters): Allow fewer
than max.
(lxcGetSchedulerParametersFlags): Drop redundant check.

bjzhang/libvirt,elmarco/libvirt,rmarwaha/libvirt,olafhering/libvirt,novel/fbsd-libvirt,warewolf/libvirt,jardasgit/libvirt,siboulet/libvirt-openvz,leilihh/libvirt,datto/libvirt,taget/libvirt,foomango/libvirt,rmarwaha/libvirt1,warewolf/libvirt,zhlcindy/libvirt-1.1.4-maintain,olafhering/libvirt,foomango/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,wiedi/libvirt,novel/fbsd-libvirt,danwent/libvirt-ovs,shugaoye/libvirt,wiedi/libvirt,emaste/libvirt,trainstack/libvirt,leilihh/libvirt,wiedi/libvirt,cbosdo/libvirt,jeckersb/libvirt,jfehlig/libvirt,usc-isi/libvirt,shugaoye/libvirt,iam-TJ/libvirt,shugaoye/libvirt,nertpinx/libvirt,jfehlig/libvirt,emaste/libvirt,VenkatDatta/libvirt,elmarco/libvirt,emaste/libvirt,fabianfreyer/libvirt,elmarco/libvirt,shugaoye/libvirt,warewolf/libvirt,novel/fbsd-libvirt,rmarwaha/libvirt1,bjzhang/libvirt,siboulet/libvirt-openvz,warewolf/libvirt,andreabolognani/libvirt,olafhering/libvirt,rmarwaha/libvirt,rmarwaha/libvirt,olafhering/libvirt,agx/libvirt,iam-TJ/libvirt,iam-TJ/libvirt,cbosdo/libvirt,zippy2/libvirt,jeckersb/libvirt,iam-TJ/libvirt,jardasgit/libvirt,wiedi/libvirt,warewolf/libvirt,andreabolognani/libvirt,datto/libvirt,jfehlig/libvirt,usc-isi/libvirt,jardasgit/libvirt,datto/libvirt,trainstack/libvirt,fabianfreyer/libvirt,usc-isi/libvirt,cbosdo/libvirt,trainstack/libvirt,wiedi/libvirt,warewolf/libvirt,rmarwaha/libvirt,agx/libvirt,taget/libvirt,fabianfreyer/libvirt,rlaager/libvirt,cbosdo/libvirt,nertpinx/libvirt,zhlcindy/libvirt-1.1.4-maintain,jeckersb/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,iam-TJ/libvirt,agx/libvirt,taget/libvirt,novel/fbsd-libvirt,eskultety/libvirt,danwent/libvirt-ovs,jardasgit/libvirt,agx/libvirt,fabianfreyer/libvirt,eskultety/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,novel/fbsd-libvirt,rlaager/libvirt,crobinso/libvirt,VenkatDatta/libvirt,danwent/libvirt-ovs,libvirt/libvirt,VenkatDatta/libvirt,foomango/libvirt,rmarwaha/libvirt,leilihh/libvirt,VenkatDatta/libvirt,rlaager/libvirt,eskultety/libvirt,taget/libvirt,usc-isi/libvirt,rmarwaha/libvirt1,siboulet/libvirt-openvz,dumbbell/libvirt,andreabolognani/libvirt,dumbbell/libvirt,dumbbell/libvirt,siboulet/libvirt-openvz,agx/libvirt,jardasgit/libvirt,jfehlig/libvirt,leilihh/libvirt,shugaoye/libvirt,crobinso/libvirt,jeckersb/libvirt,danwent/libvirt-ovs,datto/libvirt,rmarwaha/libvirt1,rmarwaha/libvirt,zippy2/libvirt,fabianfreyer/libvirt,libvirt/libvirt,iam-TJ/libvirt,eskultety/libvirt,trainstack/libvirt,warewolf/libvirt,crobinso/libvirt,zippy2/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,jeckersb/libvirt,trainstack/libvirt,dumbbell/libvirt,emaste/libvirt,nertpinx/libvirt,elmarco/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,emaste/libvirt,leilihh/libvirt,leilihh/libvirt,rmarwaha/libvirt1,usc-isi/libvirt,wiedi/libvirt,foomango/libvirt,bjzhang/libvirt,eskultety/libvirt,bjzhang/libvirt,emaste/libvirt,trainstack/libvirt,bjzhang/libvirt,datto/libvirt,iam-TJ/libvirt,andreabolognani/libvirt,trainstack/libvirt,cbosdo/libvirt,jeckersb/libvirt,rlaager/libvirt,rmarwaha/libvirt1,zippy2/libvirt,jeckersb/libvirt,dumbbell/libvirt,wiedi/libvirt,nertpinx/libvirt,libvirt/libvirt,dumbbell/libvirt,elmarco/libvirt,emaste/libvirt,VenkatDatta/libvirt,foomango/libvirt,danwent/libvirt-ovs,novel/fbsd-libvirt,libvirt/libvirt