build: port qemu to cygwin
build: port qemu to cygwin

A cygwin build of the qemu driver fails with:

qemu/qemu_process.c: In function 'qemuPrepareCpumap':
qemu/qemu_process.c:1803:31: error: 'CPU_SETSIZE' undeclared (first use in this function)

CPU_SETSIZE is a Linux extension in <sched.h>; a bit more portable
is using sysconf if _SC_NPROCESSORS_CONF is defined (several platforms
have it, including Cygwin).  Ultimately, I would have preferred to
use gnulib's 'nproc' module, but it is currently under an incompatible
license.

* src/qemu/qemu_conf.h (QEMUD_CPUMASK_LEN): Provide definition on
cygwin.

Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

shugaoye/libvirt,libvirt/libvirt,datto/libvirt,libvirt/libvirt,fabianfreyer/libvirt,rlaager/libvirt,taget/libvirt,elmarco/libvirt,olafhering/libvirt,agx/libvirt,nertpinx/libvirt,zippy2/libvirt,andreabolognani/libvirt,cbosdo/libvirt,crobinso/libvirt,fabianfreyer/libvirt,eskultety/libvirt,datto/libvirt,zippy2/libvirt,agx/libvirt,libvirt/libvirt,VenkatDatta/libvirt,eskultety/libvirt,jfehlig/libvirt,elmarco/libvirt,eskultety/libvirt,crobinso/libvirt,VenkatDatta/libvirt,olafhering/libvirt,jardasgit/libvirt,datto/libvirt,zhlcindy/libvirt-1.1.4-maintain,VenkatDatta/libvirt,elmarco/libvirt,cbosdo/libvirt,VenkatDatta/libvirt,rlaager/libvirt,shugaoye/libvirt,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,zippy2/libvirt,elmarco/libvirt,libvirt/libvirt,jardasgit/libvirt,crobinso/libvirt,taget/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,andreabolognani/libvirt,cbosdo/libvirt,taget/libvirt,shugaoye/libvirt,shugaoye/libvirt,datto/libvirt,agx/libvirt,rlaager/libvirt,andreabolognani/libvirt,shugaoye/libvirt,taget/libvirt,eskultety/libvirt,andreabolognani/libvirt,zippy2/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,datto/libvirt,agx/libvirt,agx/libvirt,crobinso/libvirt,olafhering/libvirt,nertpinx/libvirt,jfehlig/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,jardasgit/libvirt,nertpinx/libvirt,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,nertpinx/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,cbosdo/libvirt,elmarco/libvirt,jfehlig/libvirt,rlaager/libvirt,fabianfreyer/libvirt,eskultety/libvirt,olafhering/libvirt,fabianfreyer/libvirt