[libvirt] JAVA .start() method

Matthias Bolte matthias.bolte at googlemail.com
Tue Feb 2 10:44:24 UTC 2010


2010/2/2 Marc Gonzalez Mateo <marcg at ac.upc.edu>:
> Good morning,
>
> Testing the new java version (0.4.1) I've noticed that there's no .start()
> method to start a defined or shuted down domain.
>
> Are you working on it or is it a minor feature not to be considered?
>
> Thanks in advance,
>

Why do you think there should be a method called start?

The Java bindings bind the C API, not the virsh commands. The C API
function to start a domain is called virDomainCreate. The Java
bindings bind this function to the create method of the Domain class.

Matthias




More information about the libvir-list mailing list