Re: [libvirt] JAVA .start() method

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

 



On 02/02/2010 05:44 AM, Matthias Bolte wrote:
2010/2/2 Marc Gonzalez Mateo<marcg@xxxxxxxxxx>:
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


As Matthias has said, these are tracking the C API. Having said that, where in the doco would you have liked to have seen this? I will agree that create is not an obvious word to look for if all you have seen is the virsh api.

-- bk

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