]> git.proxmox.com Git - qemu-server.git/commit
qmp client: increase timeout for thaw
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 2 Mar 2022 13:21:07 +0000 (14:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 3 Mar 2022 11:12:14 +0000 (12:12 +0100)
commitd11391ff30763a1a8440055dfc674fc92b9c0a74
treece8b9b6e6fbd5ca75a069f39951698ec19159fc7
parentf7765dd72e5ea5c38d6c2c903371b8543879d57a
qmp client: increase timeout for thaw

Using a loop of freeze, sleep 5, thaw, sleep 5, an idling Windows 11
VM with 4 cores and 8GiB RAM once took 54 seconds for thawing. It took
less than a second about 90% of the time and maximum of a few seconds
for the majortiy of other cases, but there can be outliers where 10
seconds is not enough.

And there can be hookscripts executed upon thaw, which might also not
complete instantly.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/QMPClient.pm