[libvirt] Java Bindings Memory Leak

2010-12-18 Thread Jason K Yellick
Currently I am involved in a project which is utilizing the libvirt Java JNA bindings.  I appreciate the work which has been done on these bindings, but they appear to be leaking memory. I have tested this at a few different versions on a few different platforms including libvirt-java-0.4.6 with li

Re: [libvirt] [PATCHv3 7/7] build: make building on cygwin easier

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > * configure.ac (dlopen): Cygwin dlopen is in libc; avoid spurious > failure. > (XDR_CFLAGS): Define when needed. > * src/Makefile.am (libvirt_driver_remote_la_CFLAGS): Use it. > --- > > This fixed things so I could again compile on cygwin. > >  configure.ac    |   33 +

Re: [libvirt] [PATCHv2 7/7] build: find xdr headers on cygwin

2010-12-18 Thread Matthias Bolte
2010/12/18 Matthias Bolte : > 2010/12/18 Eric Blake : >> * configure.ac (XDR_CFLAGS): Define when needed. >> * src/Makefile.am (libvirt_driver_remote_la_CFLAGS): Use it. >> --- >>  configure.ac    |   24 >>  src/Makefile.am |    2 +- >>  2 files changed, 25 insertions(+), 1

Re: [libvirt] [PATCHv2 7/7] build: find xdr headers on cygwin

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > * configure.ac (XDR_CFLAGS): Define when needed. > * src/Makefile.am (libvirt_driver_remote_la_CFLAGS): Use it. > --- >  configure.ac    |   24 >  src/Makefile.am |    2 +- >  2 files changed, 25 insertions(+), 1 deletions(-) > ACK. Matthias --

Re: [libvirt] [PATCHv2 6/7] qemu: use virAsprintf instead of PATH_MAX

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > * src/qemu/qemu_driver.c (qemudLogFD, qemudLogReadFD) > (qemudStartup, qemudGetProcessInfo): Use heap instead of stack. > (qemudDomainDetachPciDiskDevice) > (qemudDomainDetachSCSIDiskDevice): Minor optimization. > --- >  src/qemu/qemu_driver.c |   53 ++

Re: [libvirt] [PATCHv2 5/7] tests: avoid spurious failure of nodeinfotest

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > When running 'make check' under a multi-cpu Dom0 xen machine, > nodeinfotest had a spurious failure it was reading from > /sys/devices/system/cpu, but xen has no notion of topology.  The test > was intended to be isolated from reading any real system files; the > regressio

Re: [libvirt] [PATCHv2 4/7] tests: avoid data race

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > I got some spurious failures when commandhelper won the race and > ran to the point of parent detection prior to the intermediate > daemonizing process getting a chance to exit.  This fixes it. > > * tests/commandhelper.c (main): Checking for re-parenting to > init(1) is r

Re: [libvirt] [PATCHv2 3/7] build: improve testsuite results with older automake

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > * tests/Makefile.am (TESTS_ENVIRONMENT, commandtest_CFLAGS) > (commandhelper_CFLAGS): Avoid $(builddir) and $(abs_builddir) in > automake 1.9.6; fixes spurious failures of commandtest. > --- >  tests/Makefile.am |    8 >  1 files changed, 4 insertions(+), 4 deleti

Re: [libvirt] [PATCHv2 2/7] build: allow older libselinux again

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > * configure.ac (with_selinux): Check for . > * src/security/security_selinux.c (getContext): New function. > (SELinuxRestoreSecurityFileLabel): Use it to restore compilation > when using older libselinux. > --- >  configure.ac                    |    3 +++ >  src/security/

Re: [libvirt] [PATCHv2 1/7] build: allow autoconf 2.59 again

2010-12-18 Thread Matthias Bolte
2010/12/18 Eric Blake : > Autoconf 2.59 doesn't define ${localedir}, so libvirt was failing > to compile due to a missing LOCALEDIR until today's configmake fix. > > * .gnulib: Update to latest for configmake fix. > * configure.ac (libpcap): Avoid AS_CASE. > --- >  .gnulib      |    2 +- >  configu

Re: [libvirt] [PATCH] libvirt-guests: avoid sourcing failure

2010-12-18 Thread Guido Günther
On Fri, Dec 17, 2010 at 05:26:52PM -0700, Eric Blake wrote: > * tools/libvirt-guests.init.in (libvirtd): Skip function library > if it is not present. > Suggested by Guido Günther. > --- > tools/libvirt-guests.init.in |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a

Re: [libvirt] [C# bindings] [PATCH]

2010-12-18 Thread Matthias Bolte
2010/12/16 : > > > -- > From: "Matthias Bolte" > Sent: Thursday, December 16, 2010 1:44 PM > To: > Cc: > Subject: Re: [libvirt] [C# bindings] [PATCH] > >> 2010/12/8  : >>> >>> Hi there, >>> >>> a long time since some update for C# bindings, sorry,