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

Re: [libvirt] JAVA .start() method



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


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


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