numatune: Support NUMA memory tuning in qemu driver
numatune: Support NUMA memory tuning in qemu driver

Implemented as setting NUMA policy between fork and exec as a hook,
using libnuma. Only support memory tuning on domain process currently.

For the nodemask out of range, will report soft warning instead of
hard error in libvirt layer. (Kernel will be silent as long as one
of set bit in the nodemask is valid on the host. E.g. For a host
has two NUMA nodes, kernel will be silent for nodemask "01010101").
So, soft warning is the only thing libvirt can do, as one might want
to specify the numa policy prior to a node that doesn't exist yet,
however, it may come as hotplug soon.

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