[Bug 47800] Better detect Windows reboots

WineHQ Bugzilla wine-bugs at winehq.org
Fri Feb 12 11:26:43 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=47800

--- Comment #1 from François Gouget <fgouget at codeweavers.com> ---
This counter is actually a really annoying when setting up VMs: forget to reset
it before taking a snapshot and LibvirtTool will rightly complain that it is
set wrong.

Maybe that could be avoided by having LibvirtTool match changes in this counter
to the reboots it triggered and reset it when appropriate. Or maybe another
mechanism should be used.

One thing that often prevents detecting that the VM rebooted is Windows'
default 30 second boot delay which causes the test to time out and give up
before it had time to reconnect to the TestAgent server. So it would help if
LibvirtTool could automatically reduce this delay to ~2 seconds when setting up
"-live" snapshots.

One more thing is that it's possible to get information about the reason for
the reboot from the event log. If there was a BSOD one can even get some
information about it... if there's at least a small pagefile set up.

Removing "options kvm ignore_msrs=1" from /etc/modprobe.d and running
ntdll:exception on a Windows 10 VM is a nice way to produce BSODs to test this.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list