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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Fri, 21 Feb 2014 10:41:35 +0000,
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.
> > 
> > Additionally, the given strings are freed before returning the resulting
> > string array.
> > 
> > Signed-off-by: Claudio Bley <cbley@xxxxxxxxxx>
> > ---
> >  src/main/java/org/libvirt/Device.java      |   10 +++++++---
> >  src/main/java/org/libvirt/jna/Libvirt.java |    2 +-
> >  2 files changed, 8 insertions(+), 4 deletions(-)
> 
> ACK

Thanks, pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]