Re: Start of freeze for libvirt-0.9.10 and availability of rc1

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

 



On 02/10/2012 01:33 PM, Eric Blake wrote:
> On the other hand, it probably also points out that we are missing a
> counterpart:
> 
> virDomainGetPowerState(domain, flags)
> 
> after all, with NodeSuspendForDuration, we always know what state we are
> in (the host is active if you can query, and all other states the host
> is non-responsive); but with guests, the hypervisor can indeed be
> queried to see whether the guest is currently active or in S3.

Actually, the existing virDomainGetState() may be good enough for this
task of querying whether the guest is in S3; but it may require
enhancing our collection of virDomain*Reason to have more states and
transition reasons.

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