Re: [libvirt] [libvirt-java] [PATCH 13/65] Make Device.listCapabilities return only valid array elements

2014-03-26 Thread Claudio Bley
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.

Re: [libvirt] [libvirt-java] [PATCH 13/65] Make Device.listCapabilities return only valid array elements

2014-02-21 Thread Daniel P. Berrange
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. Additionally, the given strings are freed before returning the

[libvirt] [libvirt-java] [PATCH 13/65] Make Device.listCapabilities return only valid array elements

2014-02-13 Thread Claudio Bley
The libvirt function virNodeDeviceListCaps might return fewer elements than requested. Take this into account and properly decode the UTF-8 strings returned. Additionally, the given strings are freed before returning the resulting string array. Signed-off-by: Claudio Bley cb...@av-test.de ---