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.w...@smartx.com> > --- > src/qemu/qemu_agent.c | 15 +++++++++++---- > 1 file changed, 11 insertions(+), 4 deletions(-)
Reviewed-by: Michal Privoznik <mpriv...@redhat.com> and merged. Congratulations on your first libvirt contribution! Michal _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-le...@lists.libvirt.org