[libvirt] [PATCH v2 3/5] Introduce virDomainSuspendForDuration API
Eric Blake
eblake at redhat.com
Fri Jan 27 16:29:00 UTC 2012
On 01/27/2012 06:34 AM, Michal Privoznik wrote:
>>> +int virDomainSuspendForDuration (virDomainPtr domain,
>>> + unsigned int target,
>>> + unsigned long long duration,
>>> + unsigned int flags);
>>
>> NB, I would prefer to have this called either
>>
>> virDomainPMSuspendForDuration
>> virDomainNodeSuspendForDuration
>>
>> Since just using ""virDomainSuspendXXX" prefix, implies it is related
>> to the existing API of that name.
>
> Yes, but on the other hand, virDomainNode make me think it's (somehow,
> magically) related to the host :)
I also dislike virDomainNode..., but think that
virDomainPMSuspendForDuration sounds reasonable.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120127/1b08de3b/attachment-0001.sig>
More information about the libvir-list
mailing list