提交 e8eb8d84 编写于 作者: C Claudio Bley

Fix docs for PMWakeup/PMSuspend callback types

s/is waken up/is woken up/

A registered PMSuspendCallback is called when the domain is suspended, not
when it is woken up.
上级 ab8692b6
...@@ -4849,7 +4849,7 @@ typedef void (*virConnectDomainEventTrayChangeCallback)(virConnectPtr conn, ...@@ -4849,7 +4849,7 @@ typedef void (*virConnectDomainEventTrayChangeCallback)(virConnectPtr conn,
* always passes 0 * always passes 0
* @opaque: application specified data * @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 * The callback signature to use when registering for an event of type
* VIR_DOMAIN_EVENT_ID_PMWAKEUP with virConnectDomainEventRegisterAny() * VIR_DOMAIN_EVENT_ID_PMWAKEUP with virConnectDomainEventRegisterAny()
...@@ -4867,7 +4867,7 @@ typedef void (*virConnectDomainEventPMWakeupCallback)(virConnectPtr conn, ...@@ -4867,7 +4867,7 @@ typedef void (*virConnectDomainEventPMWakeupCallback)(virConnectPtr conn,
* always passes 0 * always passes 0
* @opaque: application specified data * @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 * The callback signature to use when registering for an event of type
* VIR_DOMAIN_EVENT_ID_PMSUSPEND with virConnectDomainEventRegisterAny() * VIR_DOMAIN_EVENT_ID_PMSUSPEND with virConnectDomainEventRegisterAny()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册