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

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

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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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