RE: [libvirt] Libvirt-Java Binding

2009-05-07 Thread Daniel Schwager
Hi, When I tried to close them after having used them (Connect.close()) the program hangs. But after pressing Ctrl+C the program stops and the results are shown. i also have some problems with the Connect.close() - sometimes also the open() .. My JVM crashes(!) inside the native JNI

[libvirt] RE: Java binding - JVM crashes .. sometimes

2009-02-18 Thread Daniel Schwager
One more: Something, it happens, that a virsh -command on the commandline prints out an error message similar to Can't connect to hypervisor (I can't reproduce it at the moment). Multiple repeating the command works well. This happens not often - but sometimes.. I got the error again: **

[libvirt] RE: Java binding - JVM crashes .. sometimes

2009-02-18 Thread Daniel Schwager
Hi, i think something is buggy with the function libvirt-java, Connect.close() (closing the connection to the libvirt daemon). I removed all the close() calls inside my prog and the JVM will not crash any more. My prog works now like it should... Maybe a bug ? Thx Danny ... Instructions:

RE: [libvirt] RE: Java binding - JVM crashes .. sometimes

2009-02-18 Thread Daniel Schwager
Hi, i'm using the CVS-checkout from 20090217-1451 including the patches you refer to (I looked inside the code). But this error still happen sometimes .. regards Danny ** Error1 libvir: Remote Fehler : connection already open Fehler: Verbindung zum Hypervisor scheiterte These are

[libvirt] Bug in qemud/Makefile.in, compiling CVS-snapshot failed.

2009-02-17 Thread Daniel Schwager
Hi, i checked out the current CVS snapshot (20090217-1530GMT+1), but compiling failed: sh autogen.sh make rpm make[4]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.6.99/src' make[3]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.6.99/src' Making all in qemud

[libvirt] Java binding - JVM crashes .. sometimes

2009-02-17 Thread Daniel Schwager
org.libvirt.Connect.init(Ljava/lang/String;Z)V+23 j de.dtnet.virtcontroller.server.command.VDomain.open(Ljava/lang/String;)Lorg/libvirt/Connect;+74 ... Viele Gruesse Daniel Schwager --- DT Netsolution GmbH - Taläckerstr. 30-D-70437

[libvirt] RE: Java binding - JVM crashes .. sometimes

2009-02-17 Thread Daniel Schwager
My application runs very well with the old version libvirt-0.4.5. I think, problem starts with = 0.5.0 Some addition information: I tested the szenario also with 0.4.5 - but the JVM creashed also. Therefore, the difference of libvirt version's is to responsible for the crash. One more

RE: [libvirt] libvirtd hang while saving domain ??

2009-01-31 Thread Daniel Schwager
Hi, I used - libvirt CVS-checkout 20090131-10:05 (GMT+1), (sh autogen.sh, make rpm) - kvm-83 @ FC9 and creating a kvm-domain hangs (means the virsh command will not return). Can I help to debug ? regards Danny [r...@kvm11 /srv]$ LIBVIRT_DEBUG=SPAM virsh create

RE: [libvirt] libvirtd hang while saving domain ??

2009-01-31 Thread Daniel Schwager
One thing you can do first is upgrade to libvirt-0.6.0-1.fc9 package I just built in kodji, also install the debuginfo package, and if you can reproduce the hang, then attach gdb to the libvirtd process to get hint of where it's coming from. Hi, ** missing rpm-dependency ?

RE: [libvirt] invoking interface.script - missing interface name of domain

2009-01-30 Thread Daniel Schwager
Hi Daniel, within the latest CVS checkout, the problem below is not fixed. It there an open bug (to track) in redhat bugzilla for it ? If not, should I create one ? regards Danny On Tue, Jan 20, 2009 at 04:44:22PM +0100, Daniel Schwager wrote: QEMU is responsible for passing arguments

[libvirt] kvm, sync guest disk before saving ?

2009-01-29 Thread Daniel Schwager
--- DT Netsolution GmbH - Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwa...@dtnet.de -- Libvir-list mailing list Libvir-list@redhat.com https

[libvirt] bug: libvirt hang while restore a domain

2009-01-29 Thread Daniel Schwager
Daniel Schwager --- DT Netsolution GmbH - Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwa...@dtnet.de -- Libvir

[libvirt] bug: libvirt hang while restore a domain

2009-01-29 Thread Daniel Schwager
--- DT Netsolution GmbH - Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwa...@dtnet.de -- Libvir-list mailing list Libvir-list

RE: [libvirt] bug: libvirt hang while restore a domain

2009-01-29 Thread Daniel Schwager
** But the second time, the command hang: [r...@xen03 srv]# virsh restore /srv/save Update: qemu will not stop writing errors Read failed to the logfile /var/log/libvirt/qemu/winxp100.log. So, it is an qemu problem... LC_ALL=C LD_LIBRARY_PATH=/usr/local/staf/lib:

RE: [libvirt] bug: libvirt hang while restore a domain

2009-01-29 Thread Daniel Schwager
** But the second time, the command hang: [r...@xen03 srv]# virsh restore /srv/save And libvirt daemon runs with 100% CPU load .. This is not good .. -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Probs connecting QEMU hypervisor with URL ?

2009-01-22 Thread Daniel Schwager
Hi, i tried to use virt-viewer to connect to a remote machine running libvirt kvm-qemu at FC9 - but it failed. So, I run virsh without the URL directly on FC9, it works (e.g. virsh list). If I use a connection URL, it failed. Did I miss something ? regards Danny [r...@xxx03 ~]#

[libvirt] RE: Probs connecting QEMU hypervisor with URL ?

2009-01-22 Thread Daniel Schwager
One more - i tried do debug this problem with the debug-enviroment variable - it seems like libvirt can't connect the qemu hypervisor ... Hmm, in xen-enviroment, there's a xend daemon running - but in qemu-enviroment ? There's no separate daemon qemud or similar running ... so, again's which

[libvirt] invoking interface.script - missing interface name of domain

2009-01-20 Thread Daniel Schwager
Hi, i would like to write a small script - bringing up my qemu-kvm interface and - connecting it to a bridge using the following XML domain-syntax : interface type='ethernet' script path='/etc/kvm/qemu-ifup'/ /interface The

[libvirt] RE: Re: kvm-81: save / restore does not work - missing incoming stdio feature

2009-01-19 Thread Daniel Schwager
Hi Daniel, Charles Duffy (thanks Charles !) told me how to fix libvirt for using the new -incoming API - yust replace stdio with exec:cat .. Works like a charm, tested with FC9, libvirt.0.5.1-2 and KVM-83 Here's the patch for libvirt: diff -uNr libvirt-0.5.1/src/qemu_driver.c

[libvirt] interface.script not launched (KVM/qemu)

2009-01-10 Thread Daniel Schwager
Hi, I use kvm and libvirt for running windows on a fedora-core9. Problem: I defined a interface script which should run, if the KVM/qemu starts, but libvirt does not tell kvm to use the script: Part of my domain.xml: interface type=bridge source bridge=br-guest/ script

[libvirt] Re: kvm-81: save / restore does not work - missing incoming stdio feature

2009-01-10 Thread Daniel Schwager
Hi Daniel, I'm also VERY interesting in save/restore my Domains to disk - is there a roadmap back to this feature - did you talk with the qemu developers ? Or should I try to contact them ? regards Danny From: Matthias Pfafferodt matthias.pfafferodt at mapfa.de Subject: Re: [libvirt] kvm:

[libvirt] libvirt-java: change org.libvirt.Error implementing Serializable

2008-08-19 Thread Daniel Schwager
--- DT Netsolution GmbH - Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:[EMAIL PROTECTED] -- Libvir-list mailing list Libvir-list

[libvirt] beta libvirt-java port uploaded

2008-07-03 Thread Daniel Schwager
Hi, we are using libvirt in our softwaredemo.de plattform (launching in 2 or 3 weeks).. Because I saw some thread relating to the java-port, I uploaded our modified version (SNAPSHOT of my eclipse-workspace, based on the Tóth István libvir-java port - e.g.

AW: [libvirt] AW: beta libvirt-java port uploaded

2008-07-03 Thread Daniel Schwager
What are the diffs which should be applied to the cirrent 0.1.2 code base ? and what specifically should be added in libvirt-java CVS. The Beans support seems one of them (but i have no idea how it's supposed to be used). A bit of explanations would go a long way ;-) Daniel Hi

[Libvir] API int virDomainRestore(Conn, from)

2008-01-23 Thread Daniel Schwager
. Is this correct ? So, would it not be better to change the API to virDomainPtr virDomainRestore(Conn, from) regards Danny --- DT Netsolution GmbH - Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel

[Libvir] Probs migrating domain with libvirt 0.4.0

2008-01-22 Thread Daniel Schwager
- Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:[EMAIL PROTECTED] -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [Libvir] Probs migrating domain with libvirt 0.4.0

2008-01-22 Thread Daniel Schwager
On Tue, Jan 22, 2008 at 06:27:56PM +, Richard W.M. Jones wrote: Daniel Schwager wrote: virsh # migrate 3 xen://xen03.domain.com libvir: Remote error : remoteDispatchClientRequest: internal error: library function returned error but did not set virterror If it isn't something simple

[Libvir] Re: Documentation on the xml format

2007-12-28 Thread Daniel Schwager
? The code based on 0.3.2 ... regards Danny --- DT Netsolution GmbH - Taläckerstr. 30-D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:[EMAIL

AW: [Libvir] Re: Documentation on the xml format

2007-12-28 Thread Daniel Schwager
I want extend the java-libvirt implementation based on the code of István Tóth. Therefore, I created a XSD file (XML description file). This could be a base for the XML-documentation. Should I post it ? Certainly! I create a small xmlbeans based XSD/XML validator and give it a WebCFG