[libvirt] [PATCH] Fix build on mingw32

2014-04-09 Thread Ján Tomko
My commit 897808e added a parameter to virCgroupGetPercpuStats, but didn't change the stub for systems where cgroups are not supported. --- Pushed as a build-breaker fix. src/util/vircgroup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/vircgroup.c

[libvirt] [PATCH] Fix build on mingw32

2014-03-21 Thread Ján Tomko
tests/viriscsitest.c:27:12: error: 'EXIT_AM_SKIP' undeclared (first use in this function) --- Pushed as a build breaker fix. tests/viriscsitest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/viriscsitest.c b/tests/viriscsitest.c index 65de954..ebe830a 100644 ---

[libvirt] [PATCH] Fix build on Mingw32 wrt export of virNetServerGetDBusConn

2011-11-21 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Mingw32 complains if you request export of a symbol which does not in fact exist. * src/libvirt_bridge.syms, src/libvirt_macvtap.syms: Delete obsolete files * src/libvirt_private.syms: Remove virNetServerGetDBusConn * src/libvirt_dbus.syms: Add

Re: [libvirt] [PATCH] Fix build on Mingw32 wrt export of virNetServerGetDBusConn

2011-11-21 Thread Eric Blake
On 11/21/2011 04:47 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Mingw32 complains if you request export of a symbol which does not in fact exist. * src/libvirt_bridge.syms, src/libvirt_macvtap.syms: Delete obsolete files * src/libvirt_private.syms: Remove

[libvirt] PATCH: Fix build on Mingw32

2009-03-03 Thread Daniel P. Berrange
pread() and pwrite() do not exist on mingw, and the nodedevxml2xmltest was adding libvirt_driver_qemu.la for some unknown reason - probably a cut paste error. This broke the test compile when qemu was turned off as it is on mingw32. Daniel diff --git a/src/pci.c b/src/pci.c --- a/src/pci.c +++

Re: [libvirt] PATCH: Fix build on Mingw32

2009-03-03 Thread Chris Lalancette
Daniel P. Berrange wrote: pread() and pwrite() do not exist on mingw, and the nodedevxml2xmltest was adding libvirt_driver_qemu.la for some unknown reason - probably a cut paste error. This broke the test compile when qemu was turned off as it is on mingw32. Might it be better to use

Re: [libvirt] PATCH: Fix build on Mingw32

2009-03-03 Thread Jim Meyering
Daniel P. Berrange wrote: pread() and pwrite() do not exist on mingw, and the nodedevxml2xmltest was adding libvirt_driver_qemu.la for some unknown reason - probably a cut paste error. This broke the test compile when qemu was turned off as it is on mingw32. Although the new code doesn't

Re: [libvirt] PATCH: Fix build on Mingw32

2009-03-03 Thread Daniel P. Berrange
On Tue, Mar 03, 2009 at 11:18:45AM +0100, Jim Meyering wrote: Daniel P. Berrange wrote: pread() and pwrite() do not exist on mingw, and the nodedevxml2xmltest was adding libvirt_driver_qemu.la for some unknown reason - probably a cut paste error. This broke the test compile when qemu was

Re: [libvirt] PATCH: Fix build on Mingw32

2009-03-03 Thread Daniel P. Berrange
On Tue, Mar 03, 2009 at 11:38:58AM +, Daniel P. Berrange wrote: On Tue, Mar 03, 2009 at 11:18:45AM +0100, Jim Meyering wrote: Daniel P. Berrange wrote: pread() and pwrite() do not exist on mingw, and the nodedevxml2xmltest was adding libvirt_driver_qemu.la for some unknown reason -