Module: tools Branch: master Commit: 588a9e088c5bb6a591f15cb867bf3588e1a20e15 URL: https://source.winehq.org/git/tools.git/?a=commit;h=588a9e088c5bb6a591f15cb8...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 16 20:10:44 2022 +0100
testbot/LibvirtTool: Reorganize the snapshot creation.
WaitForBoot() is responsible for establishing the first connection after the VM boots, which can take longer than usual. PrepareVM() replaces SetupTestAgentd() and performs all the tasks needed to make the VM ready for the tests. CreateSnapshot() now also configures the VM before creating the Libvirt snapshot. And CheckBootCount() verifies that the VM did not crash at some point during the process. It is now systematically called before creating snapshots or declaring the VM fit for duty.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/LibvirtTool.pl | 228 +++++++++++++++++++++++++++------------------ 1 file changed, 135 insertions(+), 93 deletions(-)
Diff: https://source.winehq.org/git/tools.git/?a=commitdiff;h=588a9e088c5bb6a591f1...