Re: [PATCH v2 3/5] Introduce virDomainSuspendForDuration API

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

 



On 01/27/2012 09:12 PM, Eric Blake wrote:
> On 01/26/2012 12:59 PM, Michal Privoznik wrote:
>> This API allows a domain to be put into one of S# ACPI states.
>> Currently, S3 and S4 are supported. These states are shared
>> with virNodeSuspendForDuration.
>> However, for now we don't support any duration other than zero.
>> The same apply for flags.
> 
> I'm not reviewing 1, 2, or 4(as Dan said, there's still some churn on
> the qemu side), but I can review this one and 5 for accuracy, assuming
> you make the agreed name changes.
> 
>>  /**
>> + * virDomainSuspendForDuration:
>> + * @dom: a domain object
>> + * @target: an OR'ed set of virNodeSuspendTarget
> 
> This is _not_ an OR'd set, but a linear list.  I'd say:
> 
> @target: a value from virNodeSuspendTarget
...

I see you pushed before reading my email, so I'm pushing my proposed
cleanups under the trivial rule.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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