Re: [libvirt] JAVA .start() method

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

 



I've got confused with the naming yes, as I supposed create was doing
the same as it does in virsh api, my mistake.
Maybe it would be a good idea to rename that method and others to the
virsh naming.


thanks a lot guys,


2010/2/2, Bryan Kearney <bkearney@xxxxxxxxxx>:
> 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]