]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix docs for PMWakeup/PMSuspend callback types
authorClaudio Bley <cbley@av-test.de>
Wed, 15 Jan 2014 07:19:37 +0000 (08:19 +0100)
committerClaudio Bley <cbley@av-test.de>
Wed, 15 Jan 2014 16:00:18 +0000 (17:00 +0100)
s/is waken up/is woken up/

A registered PMSuspendCallback is called when the domain is suspended, not
when it is woken up.

include/libvirt/libvirt.h.in

index 018a5ce49077f90af044263227ddab83c42e02b0..5bdb2bc6d346c6b64b2ccffa4bfdce83e189df60 100644 (file)
@@ -4849,7 +4849,7 @@ typedef void (*virConnectDomainEventTrayChangeCallback)(virConnectPtr conn,
  *          always passes 0
  * @opaque: application specified data
  *
- * This callback occurs when the guest is waken up.
+ * This callback occurs when the guest is woken up.
  *
  * The callback signature to use when registering for an event of type
  * VIR_DOMAIN_EVENT_ID_PMWAKEUP with virConnectDomainEventRegisterAny()
@@ -4867,7 +4867,7 @@ typedef void (*virConnectDomainEventPMWakeupCallback)(virConnectPtr conn,
  *          always passes 0
  * @opaque: application specified data
  *
- * This callback occurs when the guest is waken up.
+ * This callback occurs when the guest is suspended.
  *
  * The callback signature to use when registering for an event of type
  * VIR_DOMAIN_EVENT_ID_PMSUSPEND with virConnectDomainEventRegisterAny()