[Tools] testbot: Skip ntdll:exception on the Windows 10 VM.

Francois Gouget fgouget at codeweavers.com
Fri Dec 16 14:21:40 CST 2016


On Fri, 16 Dec 2016, Francois Gouget wrote:
[...]
> -  $Script .= "-q -o $RptFileName -t $Tag -m \"$EMail\" -i \"$Info\"\r\n" .
> +  my $Ignore = ($VM->Name eq "w1064" ? "-n ntdll:exception" : "");
> +  $Script .= "-q -o $RptFileName -t $Tag -m \"$EMail\" -i \"$Info\" $Ignore\r\n" .
>               "$FileName -q -s $RptFileName\r\n";

This should not be needed after all.

The trick is not to upgrade QEMU, Windows 10, the host kernel, change 
the emulated CPU or switch to emulating USB 3.

The trick is:
echo 1 >/sys/module/kvm/parameters/ignore_msrs

Once you've noticed the following lines in the host's kernel log and 
done a Google search:

Dec 16 13:43:48 vm3 kernel: [  191.624802] kvm [2064]: vcpu0, guest rIP: 0xfffff803cb3c0bf3 kvm_set_msr_common: MSR_IA32_DEBUGCTLMSR 0x1, nop
Dec 16 13:43:48 vm3 kernel: [  191.624835] kvm [2064]: vcpu0, guest rIP: 0xfffff803cb3c0c5c unhandled rdmsr: 0x1c9

https://www.reddit.com/r/VFIO/comments/42dj7n/some_games_crash_to_biosboot_on_launch/


Now as to why another Windows 10 VM seemed to get magically fixed by the 
AEMU upgrade (from 2.1 to 2.7) and did not require this hack is another 
mystery. But one I can live with.


-- 
Francois Gouget <fgouget at codeweavers.com>



More information about the wine-patches mailing list