[libvirt] How to clone a domain using Java API?

2010-07-08 Thread Ganesh Pagade
Couldn't find any Java API or even any function in libvirt documentation: http://libvirt.org/html/libvirt-libvirt.html In case there is no API present can someone please point how this can be achieved using existing Java APIs to get the same behavior as virt-clone? Thanks, -Ganesh -- libvir-list

Re: [libvirt] Alternative to XML Creation and Parsing?

2010-05-04 Thread Ganesh Pagade
Resending, as the previous one hasn't appeared after waiting for more than a day. My apologies if this is duplicate. Hello, We plan to develop a fancy GUI which would help creating and managing VMs/Domains for RHEL 5.4 KVM. However looking at the schemas provided in docs/schemas/ (Ex:

[libvirt] Alternative to XML Creation and Parsing?

2010-05-03 Thread Ganesh Pagade
Hello, We plan to develop a fancy GUI which would help creating and managing VMs/Domains for RHEL 5.4 KVM. However looking at the schemas provided in docs/schemas/ (Ex: domain.rng) generating the XML file from the inputs taken from the GUI and pass it on to virDomainDefineXML() turns out to be a

Re: [libvirt] hellolibvirt: no hypervisor driver available for xen:///

2010-04-14 Thread Ganesh Pagade
Thanks Daniel. After installing xen-devel and rebuilding libvirt, the sample program worked. -Ganesh On Wed, Apr 14, 2010 at 2:48 PM, Daniel P. Berrange berra...@redhat.comwrote: On Tue, Apr 13, 2010 at 11:37:01PM +0530, Ganesh Pagade wrote: Hi, I downloaded and built the latest libvirt

[libvirt] hellolibvirt: no hypervisor driver available for xen:///

2010-04-13 Thread Ganesh Pagade
Hi, I downloaded and built the latest libvirt source code 0.8. I installed the library in a custom directory libvirt-0.8.0-install/ keeping all other configurations default. After this I tried to execute the example hellolibvirt: [hellolibvirt]# ./hellolibvirt xen Attempting to connect to

[libvirt] libvirt: C++ or Java?

2010-04-11 Thread Ganesh Pagade
Hello, I am planning to develop a management application for managing Redhat Xen and Redhat KVM hypervisors. I am evaluating the Java bindings versus the C++ version of libvirt. As part of evaluation, I could not find meaningful answers to the questions below. Hence, I thought that people on this