re-sending, thank you Erik!
On Wed, Apr 15, 2015 at 9:48 PM, Eric Blake wrote:
> On 04/15/2015 01:38 PM, Laszlo Hornyak wrote:
> > The added details are required in order to upload to maven central
> >
> > Signed-off-by: Laszlo Hornyak
> > ---
> > pom.xml.in | 14 ++
> > 1 file cha
On 04/15/2015 01:38 PM, Laszlo Hornyak wrote:
> The added details are required in order to upload to maven central
>
> Signed-off-by: Laszlo Hornyak
> ---
> pom.xml.in | 14 ++
> 1 file changed, 14 insertions(+)
I'm not qualified to review the patch proper; but you might want to do:
On Sat, Nov 01, 2014 at 10:40:06PM +0100, Claudio Bley wrote:
> At Fri, 21 Feb 2014 11:19:23 +,
> Daniel P. Berrange wrote:
> >
> > On Thu, Feb 13, 2014 at 04:22:08PM +0100, Claudio Bley wrote:
> > > Hi.
> > >
> > > Here are a few patches that piled up in my local branch. Some of them
> > > I
At Fri, 21 Feb 2014 11:19:23 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:08PM +0100, Claudio Bley wrote:
> > Hi.
> >
> > Here are a few patches that piled up in my local branch. Some of them
> > I already submitted to this list, but there has been no reponse to
> > them.
>
At Fri, 21 Feb 2014 10:59:44 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:43PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/StorageVol.java |8 +++-
> > src/main/java/org/libvirt/jna/Libvirt.java |2 +-
>
At Fri, 21 Feb 2014 10:59:02 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:41PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/DomainSnapshot.java | 10 +-
> > src/main/java/org/libvirt/jna/Libvirt.java|
At Fri, 21 Feb 2014 11:21:17 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:08PM +0100, Claudio Bley wrote:
> > Hi.
> >
> > Here are a few patches that piled up in my local branch. Some of them
> > I already submitted to this list, but there has been no reponse to
> > them.
>
At Fri, 21 Feb 2014 10:59:25 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:42PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/StorageVol.java | 10 +-
> > src/main/java/org/libvirt/jna/Libvirt.java |2 +-
At Fri, 21 Feb 2014 10:36:10 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:16PM +0100, Claudio Bley wrote:
> > Specify a version range for the net.java.dev.jna / jna artifact
> > in order to accept any version we tested the libvirt Java bindings
> > against.
> >
> > Signed-of
At Fri, 21 Feb 2014 10:58:35 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:40PM +0100, Claudio Bley wrote:
> > We need to free the char* entries of the result array returned
> > ourselves.
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/StoragePool
eAt Fri, 21 Feb 2014 10:57:44 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:39PM +0100, Claudio Bley wrote:
> > We need to free the char* entries of the result array returned ourselves.
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/Domain.java
At Fri, 21 Feb 2014 10:57:10 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:38PM +0100, Claudio Bley wrote:
> > The getSchedulerType method returns a String (the name of the
> > scheduler), not a String array containing a single element.
> >
> > It's OK to just pass null for t
At Fri, 21 Feb 2014 10:49:15 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:31PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Adjust the doc comment for storageVolLookupByName to indicate that
> > it
At Fri, 21 Feb 2014 10:51:17 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:36PM +0100, Claudio Bley wrote:
> > It was deprecated and is no longer used.
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/ErrorHandler.java | 12
> > 1 fil
At Fri, 21 Feb 2014 10:50:22 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:34PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..) and remove calls to the deprecated
> > ErrorHandler.processError(Libvirt) method.
>
At Fri, 21 Feb 2014 10:45:55 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:28PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:50:57 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:35PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/Library.java |4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> ACK
Thank
At Fri, 21 Feb 2014 10:49:52 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:33PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:49:33 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:32PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:48:44 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:30PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:45:22 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:27PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:46:19 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:29PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:43:43 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:24PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/Devic
At Fri, 21 Feb 2014 10:43:15 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:23PM +0100, Claudio Bley wrote:
> > Almost every class contains a processError() method with an identical
> > definition, just forwarding the call to ErrorHandler.processError(Libvirt).
> >
> > This fu
At Fri, 21 Feb 2014 10:45:01 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:26PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also correct wrong javadoc comments stating that methods would return
> >
At Fri, 21 Feb 2014 10:44:42 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:25PM +0100, Claudio Bley wrote:
> > Wrap any fallible libvirt function in a call to
> > ErrorHandler.processError(..).
> >
> > Also update erroneous javadoc comments stating that methods would return
At Fri, 21 Feb 2014 10:42:22 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:22PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/test/java/org/libvirt/TestJavaBindings.java | 14 ++
> > 1 file changed, 14 insertions(+)
>
> ACK
T
At Fri, 21 Feb 2014 10:41:35 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:21PM +0100, Claudio Bley wrote:
> > The libvirt function virNodeDeviceListCaps might return fewer elements
> > than requested. Take this into account and properly decode the UTF-8
> > strings returned.
At Fri, 21 Feb 2014 14:42:26 +0100,
Claudio Bley wrote:
>
> At Fri, 21 Feb 2014 10:37:36 +,
> Daniel P. Berrange wrote:
> >
> > On Thu, Feb 13, 2014 at 04:22:18PM +0100, Claudio Bley wrote:
> > > Libvirt function parameters having type (pointer to) size_t were
> > > wrapped via JNA using int,
At Fri, 21 Feb 2014 10:40:46 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:20PM +0100, Claudio Bley wrote:
> > JUnit is used for quite some time now, which supercedes the tests
> > defined in the old "test" class.
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/test/jav
At Fri, 21 Feb 2014 10:36:33 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:17PM +0100, Claudio Bley wrote:
> > On Windows, the libvirt DLL is called libvirt-0.dll. Trying to load
> > the "virt" library hence fails to find the file. Branch on the platform
> > and load "virt-0"
At Fri, 21 Feb 2014 10:35:42 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:15PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > .gitignore |2 ++
> > 1 file changed, 2 insertions(+)
>
> ACK. Counts as a trivial patch that can be pushed withou
At Fri, 21 Feb 2014 10:35:17 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:14PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/Error.java | 397
> > ++
> > 1 file changed, 262 insertions
At Fri, 21 Feb 2014 10:34:52 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:13PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/test/java/org/libvirt/TestJavaBindings.java |2 ++
> > 1 file changed, 2 insertions(+)
>
> ACK
Thanks, pushed
At Fri, 21 Feb 2014 10:34:24 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:12PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/test/java/org/libvirt/TestJavaBindings.java |2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> ACK
At Fri, 21 Feb 2014 10:34:05 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:11PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > src/main/java/org/libvirt/Error.java |6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
>
> ACK
Thank
At Fri, 21 Feb 2014 10:32:08 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:09PM +0100, Claudio Bley wrote:
> > Eclipse generates this kind of warning:
> >
> > org/libvirt/jna/virConnectCredential.java:20:
> > List is a raw type. References to generic type List should be
> >
At Fri, 21 Feb 2014 10:33:44 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:10PM +0100, Claudio Bley wrote:
> > java/org/libvirt/Error.java:217:
> > The static method wrap(int) from the type Error.ErrorDomain should be
> > accessed in a static way
> >
> > Signed-off-by: Claudi
On Wed, Mar 26, 2014 at 4:32 AM, Eric Blake wrote:
> On 03/25/2014 10:19 PM, Eric Blake wrote:
> > On 03/25/2014 09:29 PM, Chris Ellis wrote:
> >> Hi
> >>
> >> Simple patch to set the Java source level within the pom, this makes it
> >> easier to import the project into Eclipse. I've also added
On Wed, Mar 26, 2014 at 7:52 AM, Claudio Bley wrote:
> At Wed, 26 Mar 2014 03:29:34 +,
> Chris Ellis wrote:
> >
> > Update the pom to set the Java source level. This enables Eclipse
> > to correctly configure itself.
>
> So, you let ant generate the pom.xml and use that with Eclipse, right?
At Fri, 21 Feb 2014 11:03:49 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:47PM +0100, Claudio Bley wrote:
> > Add initEventLoop(), processEvent(), runEventLoop() and stopEventLoop()
> > static methods to the Library class.
> >
> > Signed-off-by: Claudio Bley
> > ---
> > sr
At Wed, 26 Mar 2014 03:29:34 +,
Chris Ellis wrote:
>
> Update the pom to set the Java source level. This enables Eclipse
> to correctly configure itself.
So, you let ant generate the pom.xml and use that with Eclipse, right?
> Also include plugins to publish the source and javadocs vai Mave
On 03/25/2014 10:19 PM, Eric Blake wrote:
> On 03/25/2014 09:29 PM, Chris Ellis wrote:
>> Hi
>>
>> Simple patch to set the Java source level within the pom, this makes it
>> easier to import the project into Eclipse. I've also added an ignore for
>> a local pom file.
>>
>> I've added plugins to
Update the pom to set the Java source level. This enables Eclipse
to correctly configure itself.
Also include plugins to publish the source and javadocs vai Maven.
Update .gitignore to exclude a local pom.
---
.gitignore | 1 +
pom.xml.in | 41 +
2 files
On 03/25/2014 09:29 PM, Chris Ellis wrote:
> Hi
>
> Simple patch to set the Java source level within the pom, this makes it
> easier to import the project into Eclipse. I've also added an ignore for
> a local pom file.
>
> I've added plugins to publish the sources and javadocs into Maven. Thi
Hi
Simple patch to set the Java source level within the pom, this makes it
easier to import the project into Eclipse. I've also added an ignore for
a local pom file.
I've added plugins to publish the sources and javadocs into Maven. This
allows Maven (and IDE integration) to automatically us
Hi.
This is a small patch set to fix a few issues I've discovered while testing
Claudio's patch set.
The first patch is trivial, it adds the ConnectionCloseListener interface and
corresponding
enum, which were missing.
The second patch ensures that the JNA callbacks cannot be garbage collecte
[FTR, I've noticed the same thing when I started to use the Java
bindings. Back then, this made me wonder whether the bindings are
actually used by someone, because the constants are rather useless
without being public and nobody objected...]
At Fri, 21 Mar 2014 14:05:26 -0600,
Yoshikazu Nojima
Hi,
I'd like to submit a small patch to libvirt-java.
This patch make Flags used to manipulate Domain accessible from
outside of the package
I'm new to libvirt-java development process, please let me know if I
miss something.
Thanks!
Yoshikazu Nojima
From 9eebc8caef1f8b4f87d63e5e74079b1ced3c0e7
At Tue, 11 Mar 2014 11:18:57 +0100,
Claudio Bley wrote:
>
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 39 +
> src/main/java/org/libvirt/Domain.java | 52
> ++-
> src/test/java/org/libvirt/TestJavaBi
Signed-off-by: Claudio Bley
---
src/main/java/org/libvirt/Connect.java | 39 +
src/main/java/org/libvirt/Domain.java | 52 ++-
src/test/java/org/libvirt/TestJavaBindings.java |4 ++
3 files changed, 94 insertions(+), 1 deletion(-)
d
At Mon, 03 Mar 2014 13:06:50 -0700,
Eric Blake wrote:
>
> [1 ]
> On 02/13/2014 08:22 AM, Claudio Bley wrote:
> > Note: these are only used internally.
> >
> > Signed-off-by: Claudio Bley
> > ---
>
> > +static final int CONTROL_ERROR = 7;
> > +static final int BLOCK_JOB = 8;
> >
On Tue, Mar 04, 2014 at 08:31:04AM +0100, Claudio Bley wrote:
> At Mon, 3 Mar 2014 15:58:25 +,
> Daniel P. Berrange wrote:
> >
> > On Mon, Mar 03, 2014 at 04:46:51PM +0100, Claudio Bley wrote:
> > > At Fri, 21 Feb 2014 11:01:47 +,
> > > Daniel P. Berrange wrote:
> > > >
> > > > ACK, if yo
At Mon, 3 Mar 2014 15:58:25 +,
Daniel P. Berrange wrote:
>
> On Mon, Mar 03, 2014 at 04:46:51PM +0100, Claudio Bley wrote:
> > At Fri, 21 Feb 2014 11:01:47 +,
> > Daniel P. Berrange wrote:
> > >
> > > ACK, if you also add the virEventUpdateTimeout method
> >
> > OK, but why should I add
Eric Blake wrote:
> On 03/03/2014 08:58 AM, Daniel P. Berrange wrote:
>
>> On Mon, Mar 03, 2014 at 04:46:51PM +0100, Claudio Bley wrote:
>>
>>> At Fri, 21 Feb 2014 11:01:47 +,
>>> Daniel P. Berrange wrote:
>>>
ACK, if you also add the virEventUpdateTimeout method
On 02/13/2014 08:22 AM, Claudio Bley wrote:
> Note: these are only used internally.
>
> Signed-off-by: Claudio Bley
> ---
> +static final int CONTROL_ERROR = 7;
> +static final int BLOCK_JOB = 8;
> +static final int DISK_CHANGE = 9;
> +static final int TRAY_CHANGE
On 03/03/2014 08:58 AM, Daniel P. Berrange wrote:
> On Mon, Mar 03, 2014 at 04:46:51PM +0100, Claudio Bley wrote:
>> At Fri, 21 Feb 2014 11:01:47 +,
>> Daniel P. Berrange wrote:
>>>
>>> ACK, if you also add the virEventUpdateTimeout method
>>
>> OK, but why should I add it? It's useless (for t
On Mon, Mar 03, 2014 at 04:46:51PM +0100, Claudio Bley wrote:
> At Fri, 21 Feb 2014 11:01:47 +,
> Daniel P. Berrange wrote:
> >
> > ACK, if you also add the virEventUpdateTimeout method
>
> OK, but why should I add it? It's useless (for the user) and unused by
> the wrapping code. I want to
At Fri, 21 Feb 2014 11:01:47 +,
Daniel P. Berrange wrote:
>
> ACK, if you also add the virEventUpdateTimeout method
OK, but why should I add it? It's useless (for the user) and unused by
the wrapping code. I want to keep the JNA library definition clean --
e.g. in a later patch I remove all
At Fri, 21 Feb 2014 11:10:22 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:53PM +0100, Claudio Bley wrote:
> > Add LifecycleListener interface which needs to be implemented
> > when the user wishes to receive lifecycle change events on domains.
> >
> > The DomainEvent class r
At Fri, 21 Feb 2014 10:37:36 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:18PM +0100, Claudio Bley wrote:
> > Libvirt function parameters having type (pointer to) size_t were
> > wrapped via JNA using int, long or even NativeLong. Alas, none of
> > these is actually correct a
At Fri, 14 Feb 2014 11:06:12 +0100,
Guido Günther wrote:
>
> On Thu, Feb 13, 2014 at 04:22:15PM +0100, Claudio Bley wrote:
> >
> > Signed-off-by: Claudio Bley
> > ---
> > .gitignore |2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/.gitignore b/.gitignore
> > index b02fd55..2
At Fri, 21 Feb 2014 11:19:23 +,
Daniel P. Berrange wrote:
>
> On Thu, Feb 13, 2014 at 04:22:08PM +0100, Claudio Bley wrote:
> > Hi.
> >
> > Here are a few patches that piled up in my local branch. Some of them
> > I already submitted to this list, but there has been no reponse to
> > them.
>
On Thu, Feb 13, 2014 at 04:22:29PM +0100, Claudio Bley wrote:
> Wrap any fallible libvirt function in a call to
> ErrorHandler.processError(..).
>
> Also correct wrong javadoc comments stating that methods would return
> a value in case an error occurs.
>
> Signed-off-by: Claudio Bley
> ---
> s
On Thu, Feb 13, 2014 at 04:22:30PM +0100, Claudio Bley wrote:
> Wrap any fallible libvirt function in a call to
> ErrorHandler.processError(..).
>
> Also correct wrong javadoc comments stating that methods would return
> a value in case an error occurs.
>
> Signed-off-by: Claudio Bley
> ---
> s
On Thu, Feb 13, 2014 at 04:22:08PM +0100, Claudio Bley wrote:
> Hi.
>
> Here are a few patches that piled up in my local branch. Some of them
> I already submitted to this list, but there has been no reponse to
> them.
>
> Included are a few trivial fixes as well as memory leak fixes and
> additi
On Thu, Feb 13, 2014 at 04:23:13PM +0100, Claudio Bley wrote:
> In libvirt 0.9.3 this has been changed to simply return the libvirt
> version number.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 11 ---
> 1 file changed, 8 insertions(+), 3 deletions(
On Thu, Feb 13, 2014 at 04:23:04PM +0100, Claudio Bley wrote:
> This wraps the virDomainPMWakeup libvirt function available since
> version 0.9.11.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java| 27
> ++
> src/main/java/org/libvi
On Thu, Feb 13, 2014 at 04:22:59PM +0100, Claudio Bley wrote:
> This wraps the virDomainBlockPeek libvirt function, available since
> version 0.4.5.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java | 53
>
> src/main/java/org/libv
On Thu, Feb 13, 2014 at 04:22:08PM +0100, Claudio Bley wrote:
> Hi.
>
> Here are a few patches that piled up in my local branch. Some of them
> I already submitted to this list, but there has been no reponse to
> them.
>
> Included are a few trivial fixes as well as memory leak fixes and
> additi
On Thu, Feb 13, 2014 at 04:23:05PM +0100, Claudio Bley wrote:
> This wraps the virDomainSendKey libvirt function available since version
> 0.9.3.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java | 12
> src/main/java/org/libvirt/KeycodeSet.java | 4
On Thu, Feb 13, 2014 at 04:23:09PM +0100, Claudio Bley wrote:
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/BitFlags.java | 18 ++
> 1 file changed, 18 insertions(+)
> create mode 100644 src/main/java/org/libvirt/BitFlags.java
ACK
Regards,
Daniel
--
|: ht
On Thu, Feb 13, 2014 at 04:23:12PM +0100, Claudio Bley wrote:
> Since the libvirt version information is a property of an *instance* of a
> connnection, the method to retrieve this information should not be static.
>
> Deprecate its use and recommend using aConnect.getLibVersion instead.
>
> Sign
On Thu, Feb 13, 2014 at 04:22:45PM +0100, Claudio Bley wrote:
> This wraps the virConnectIsAlive libvirt function available since
> version 0.9.8.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 12
> src/main/java/org/libvirt/jna/Libvirt.
On Thu, Feb 13, 2014 at 04:23:11PM +0100, Claudio Bley wrote:
> It should not be necessary to create a Connect object in order to
> determine the version of the libvirt library.
>
> Introduce Library.getVersion which returns this information.
>
> Deprecate Connect.getLibVirVersion but keep it for
On Thu, Feb 13, 2014 at 04:23:10PM +0100, Claudio Bley wrote:
> Additionally, add an OpenFlags enum to the Connect classes which
> implements the BitFlags interface.
>
> This should be used when creating a read-only connection or
> to prevent using URI aliases.
>
> Signed-off-by: Claudio Bley
>
On Thu, Feb 13, 2014 at 04:23:02PM +0100, Claudio Bley wrote:
> This wraps the virDomainIsUpdated libvirt function available since version
> 0.8.6.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java |8
> src/main/java/org/libvirt/jna/Libvirt.java |
On Thu, Feb 13, 2014 at 04:22:55PM +0100, Claudio Bley wrote:
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 57
>
> src/main/java/org/libvirt/Domain.java | 20 +++
> .../java/org/libvirt/event/PMWakeupListe
On Thu, Feb 13, 2014 at 04:23:06PM +0100, Claudio Bley wrote:
> This makes the Stream class a native citizen of the Java API.
>
> It can be used with the NIO Channel API, as well as (In,Out)putStream's
> using the java.nio.channels.Channels convenience wrappers.
>
> Signed-off-by: Claudio Bley
>
On Thu, Feb 13, 2014 at 04:22:50PM +0100, Claudio Bley wrote:
> This method constructs a new Domain class instance while
> increasing the reference count on the virDomainPtr in
> order to make sure the Domain object "owns" the given
> virDomainPtr.
>
> Signed-off-by: Claudio Bley
> ---
> src/mai
On Thu, Feb 13, 2014 at 04:23:08PM +0100, Claudio Bley wrote:
>
> Signed-off-by: Claudio Bley
> ---
> src/test/java/org/libvirt/TestJavaBindings.java | 44
> +++
> 1 file changed, 44 insertions(+)
ACK
Regards,
Daniel
--
|: http://berrange.com -o-http://www.flic
On Thu, Feb 13, 2014 at 04:23:07PM +0100, Claudio Bley wrote:
> This wraps the native virDomainScreenshot libvirt function available
> since version 0.9.2.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java | 10 ++
> src/main/java/org/libvirt/Stream.jav
On Thu, Feb 13, 2014 at 04:23:03PM +0100, Claudio Bley wrote:
> This wraps the virDomainReset libvirt function available since
> version 0.9.7.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java |7 +++
> src/main/java/org/libvirt/jna/Libvirt.java |1 +
On Thu, Feb 13, 2014 at 04:23:00PM +0100, Claudio Bley wrote:
> This wraps the virDomainMemoryPeek libvirt function, available since
> version 0.4.5.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java| 40
> ++
> src/main/java/org/lib
On Thu, Feb 13, 2014 at 04:22:58PM +0100, Claudio Bley wrote:
> This wraps the virConnectGetSysinfo function available since libvirt
> version 0.8.8.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 21 +
> src/main/java/org/libvirt/jna/L
On Thu, Feb 13, 2014 at 04:23:01PM +0100, Claudio Bley wrote:
> This wraps the virSecretGetUsageType libvirt function available since
> version 0.7.1.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Secret.java |5 +
> src/main/java/org/libvirt/SecretUsageType.
On Thu, Feb 13, 2014 at 04:22:56PM +0100, Claudio Bley wrote:
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 59
>
> src/main/java/org/libvirt/Domain.java | 20 +++
> .../java/org/libvirt/event/PMSuspendList
On Thu, Feb 13, 2014 at 04:22:47PM +0100, Claudio Bley wrote:
> Add initEventLoop(), processEvent(), runEventLoop() and stopEventLoop()
> static methods to the Library class.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Library.java | 91
>
On Thu, Feb 13, 2014 at 04:22:53PM +0100, Claudio Bley wrote:
> Add LifecycleListener interface which needs to be implemented
> when the user wishes to receive lifecycle change events on domains.
>
> The DomainEvent class represents the kind of event that
> occurred including details on that event
On Thu, Feb 13, 2014 at 04:22:54PM +0100, Claudio Bley wrote:
> Signed-off-by: Claudio Bley
> ---
> src/test/java/org/libvirt/TestJavaBindings.java | 69
> +++
> 1 file changed, 69 insertions(+)
ACK
Regards,
Daniel
--
|: http://berrange.com -o-http://www.flickr.c
On Thu, Feb 13, 2014 at 04:22:57PM +0100, Claudio Bley wrote:
> There can only be a single connection close listener registered
> per connection object.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 57
>
> src/main/java/org/
On Thu, Feb 13, 2014 at 04:22:42PM +0100, Claudio Bley wrote:
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/StorageVol.java | 10 +-
> src/main/java/org/libvirt/jna/Libvirt.java |2 +-
> 2 files changed, 10 insertions(+), 2 deletions(-)
ACK
Regards,
Daniel
--
On Thu, Feb 13, 2014 at 04:22:52PM +0100, Claudio Bley wrote:
> Add RebootListener interface in package org.libvirt.event and
> implement addRebootListener methods in classes Domain and Connect.
>
> Add removeRebootListener to Connect class.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java
On Thu, Feb 13, 2014 at 04:22:51PM +0100, Claudio Bley wrote:
> Add IOErrorActionListener and IOErrorAction enum which is handed to the
> onIOError callback method when an IO error event occurs.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 59
>
On Thu, Feb 13, 2014 at 04:22:49PM +0100, Claudio Bley wrote:
> Remove the public domainEventRegisterAny and domainEventDeregisterAny
> methods. These methods basically were of no use since the only thing you
> could register was a "generic" callback.
>
> At runtime, you would have to provide a re
On Thu, Feb 13, 2014 at 04:22:44PM +0100, Claudio Bley wrote:
> These functions are not (yet) exposed in the public org.libvirt
> package but only used internally.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/jna/Libvirt.java | 11 +++
> 1 file changed, 11 insertio
On Thu, Feb 13, 2014 at 04:22:41PM +0100, Claudio Bley wrote:
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/DomainSnapshot.java | 10 +-
> src/main/java/org/libvirt/jna/Libvirt.java|2 +-
> 2 files changed, 10 insertions(+), 2 deletions(-)
ACK
Regards,
Dan
On Thu, Feb 13, 2014 at 04:22:48PM +0100, Claudio Bley wrote:
> Note: these are only used internally.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 20
> 1 file changed, 20 insertions(+)
ACK
Regards,
Daniel
--
|: http://berrange.com
On Thu, Feb 13, 2014 at 04:22:46PM +0100, Claudio Bley wrote:
> This wraps the virConnectSetKeepAlive libvirt function available since
> version 0.9.8.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Connect.java | 34
>
> src/main/java/org/l
On Thu, Feb 13, 2014 at 04:22:39PM +0100, Claudio Bley wrote:
> We need to free the char* entries of the result array returned ourselves.
>
> Signed-off-by: Claudio Bley
> ---
> src/main/java/org/libvirt/Domain.java | 14 +++---
> src/main/java/org/libvirt/jna/Libvirt.java |2
1 - 100 of 263 matches
Mail list logo