On 2/21/24 15:45, ray wrote: > The current implementation sets the guest-sync timeout to the > smaller value between the default value (QEMU_AGENT_WAIT_TIME) > and agent->timeout, without considering the timeout passed > via the qga command. > > This patch enhances the guest-sync timeout logic to use the > minimum value among the default value, agent->timeout, and > the timeout passed via the qga command. > > Resolves: https://gitlab.com/libvirt/libvirt/-/issues/590 > Signed-off-by: ray <honglei.wang@xxxxxxxxxx> > --- > src/qemu/qemu_agent.c | 15 +++++++++++---- > 1 file changed, 11 insertions(+), 4 deletions(-) Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> and merged. Congratulations on your first libvirt contribution! Michal _______________________________________________ Devel mailing list -- devel@xxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx