提交 3066c180 编写于 作者: T Tomáš Golembiovský 提交者: Michal Privoznik

docs: document proper enum for guest agent timeout

The documented enum and its values do not exits. The real enum has
slightly different name.
Signed-off-by: NTomáš Golembiovský <tgolembi@redhat.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 59558518
...@@ -12550,13 +12550,13 @@ int virDomainGetLaunchSecurityInfo(virDomainPtr domain, ...@@ -12550,13 +12550,13 @@ int virDomainGetLaunchSecurityInfo(virDomainPtr domain,
* Set how long to wait for a response from guest agent commands. By default, * Set how long to wait for a response from guest agent commands. By default,
* agent commands block forever waiting for a response. * agent commands block forever waiting for a response.
* *
* @timeout must be a value from virDomainAgentCommandTimeoutValues or * @timeout must be a value from virDomainAgentResponseTimeoutValues or
* positive: * positive:
* *
* VIR_DOMAIN_AGENT_COMMAND_TIMEOUT_BLOCK(-2): meaning to block forever * VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK(-2): meaning to block forever
* waiting for a result. * waiting for a result.
* VIR_DOMAIN_AGENT_COMMAND_TIMEOUT_DEFAULT(-1): use default timeout value. * VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_DEFAULT(-1): use default timeout value.
* VIR_DOMAIN_AGENT_COMMAND_TIMEOUT_NOWAIT(0): does not wait. * VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT(0): does not wait.
* positive value: wait for @timeout seconds * positive value: wait for @timeout seconds
* *
* Returns 0 on success, -1 on failure * Returns 0 on success, -1 on failure
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册