In addition to the error constant appearing add docs hinting that this
new error code can be produced on timeouts.
The most relevant place is to do it when setting the timeout.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
libvirt daemon),
* 0 - do not wait at all,
+In all guest-agent based APIs when a timeout happens if an actual command was
+send to the guest agent the returned error code will be
+VIR_ERR_AGENT_COMMAND_TIMEOUT.
guestinfo
---------
* VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT(0): does not wait.
* positive value: wait for @timeout seconds
*
+ * In all guest-agent based APIs when a timeout happens if an actual command
+ * was send to the guest agent the returned error code will be
+ * VIR_ERR_AGENT_COMMAND_TIMEOUT.
+ *
* Returns 0 on success, -1 on failure
*
* Since: 5.10.0