Re: [libvirt] Java binding

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

 



On Tue, May 12, 2009 at 04:43:53PM +0300, Zvi Dubitzky wrote:
> Who is the contact for libvirt Java binding ?

  this list, potentially me in the end, but I'm way behind and
not a Java expert !

> In a late mail I said that the Java binding  crashes upon live migrate 
> when  the dname=null .
> It does not crash if dname = source domain name  even though works slow.
> 
> The C code of libvirt / libvirt.c /virDomainMigrate ()  says in its header 
> that :
> "If a hypervisor supports renaming domains during migration,
>  * then you may set the dname parameter to the new name (otherwise
>  * it keeps the same name).  If this is not supported by the
>  * hypervisor, dname must be NULL or else you will get an error."
> 
> So in the kvm case dname = NULL works for the C binding but not for the 
> JAVA binding  as it should .
> 
> Any idea ?

  Someone need to fix the JNI glue code to accept to pass NULL...
could be me but might be faster if someone else does it :-\

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
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]