[libvirt] libvirt-java, deprecated methods?

Daniel P. Berrange berrange at redhat.com
Tue Jul 21 11:01:06 UTC 2009


On Tue, Jul 21, 2009 at 11:52:11AM +0200, Thomas Treutner wrote:
> Hi, 
> 
> I'm playing around with libvirt-0.6.5 and libvirt-java-0.2.1 these days.
> It looks very interesting, but I think I may have found a bug:
> 
> 	....
> 	conn = new Connect("xen://node02", false);
> 	....
> 	conn.setDom0Memory(512000) 

Hmm, dunno what that method is doing - it doesn't correspond to
one in the libvirt C API.

It would be worth gettinga trace of API calls by setting
the following environment variables before running your
app

 LIBVIRT_LOG_FILTERS="1:libvirt" LIBVIRT_LOG_OUTPUTS="1:stderr"  

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list