Module: tools Branch: master Commit: c98fb895228afaddebcbf5cb0847ed146b362280 URL: http://source.winehq.org/git/tools.git/?a=commit;h=c98fb895228afaddebcbf5cb0...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Oct 4 12:37:57 2017 +0200
testbot: Separate the Libvirt operations from the VM class.
Libvirt operations can be slow and should be avoided in the single-threaded Engine server. Separating them from the VM class makes the issues more apparent. The new architecture also resets the Libvirt connection whenever a Libvirt error occurs.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/Engine.pl | 9 +- testbot/bin/RevertVM.pl | 5 +- testbot/bin/WineRunBuild.pl | 4 +- testbot/bin/WineRunReconfig.pl | 8 +- testbot/bin/WineRunTask.pl | 9 +- testbot/lib/WineTestBot/Jobs.pm | 8 +- testbot/lib/WineTestBot/LibvirtDomain.pm | 336 +++++++++++++++++++++++++++++++ testbot/lib/WineTestBot/VMs.pm | 295 ++------------------------- 8 files changed, 377 insertions(+), 297 deletions(-)
Diff: http://source.winehq.org/git/tools.git/?a=commitdiff;h=c98fb895228afaddebcbf...