Re: [libvirt] [PATCH] build: port qemu to cygwin

2013-05-30 Thread Michal Privoznik
On 30.05.2013 05:04, Eric Blake wrote: 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

Re: [libvirt] [PATCH] build: port qemu to cygwin

2013-05-30 Thread Eric Blake
On 05/30/2013 01:39 AM, Michal Privoznik wrote: On 30.05.2013 05:04, Eric Blake wrote: 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

Re: [libvirt] [PATCH] build: port qemu to cygwin

2013-05-30 Thread Eric Blake
On 05/30/2013 06:39 AM, Eric Blake wrote: I'll wait for a review on this one, particularly since I'm still trying to solve another qemu failure on cygwin: qemu/qemu_monitor.c:418:9: error: passing argument 2 of 'sendmsg' from incompatible pointer type /usr/include/sys/socket.h:42:11: note:

[libvirt] [PATCH] build: port qemu to cygwin

2013-05-29 Thread Eric Blake
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