[libvirt] Start of freeze for libvirt-0.9.10 and availability of rc1

Eric Blake eblake at redhat.com
Fri Feb 10 20:41:04 UTC 2012


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 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/20120210/4a1d10f6/attachment-0001.sig>


More information about the libvir-list mailing list