mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: guest-agent-timeout: set default value for optional argument
The timeout argument for guest-agent-timeout is optional but it did not have proper default value specified. Also update the virsh man page accordingly. Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
ced02c610d
commit
c7547a16f8
@@ -14207,7 +14207,7 @@ static bool
|
||||
cmdGuestAgentTimeout(vshControl *ctl, const vshCmd *cmd)
|
||||
{
|
||||
virDomainPtr dom = NULL;
|
||||
int timeout;
|
||||
int timeout = VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK;
|
||||
const unsigned int flags = 0;
|
||||
bool ret = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user