Windows 10 VM reboots when starting software
-
You might have a Windows setting to prevent reboot in crash (or also with xe you can set the VM to not restart in case of crash).
Thanks for the output
-
Can you do a copy/paste (eg in hastebin.com) the full output of
xl dmesg
from your dom0? -
@olivierlambert said in Windows 10 VM reboots when starting software:
Can you do a copy/paste (eg in hastebin.com) the full output of
xl dmesg
from your dom0?Here is the complete dmesg:
https://hastebin.com/ruvuqokiba.sql -
@olivierlambert said in Windows 10 VM reboots when starting software:
You might have a Windows setting to prevent reboot in crash (or also with xe you can set the VM to not restart in case of crash).
Thanks for the output
I removed the mark that makes Windows boot in case of a crash, but same result. It just acts like it's a hypervisor crash and not a Windows crash.
How can I change the setting in xe? Can't seem to find that option in XO. -
Yeah in
xe
, it'sactions_after_crash
that you should set topreserve
but in your case, it might be not even relevant.Let me take a look at the
dmesg
(and showing it to some Xen devs) -
Okay @jstorgaard I have a good news. It's likely related to your CPU.
Family 6 Model 165 Stepping 3
in your case, is a Comet Lake CPU.And Xen version you have don't have yet the right code for some calls asked by the VM, trigger a crash (Xen doesn't know which MSRs to give it).
This was patched in Xen relatively recently (few months ago), ask you can see here: https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=1fe406685cb19e9544681c6243e7d376deb0297e
This patch is relatively trivial, so in theory we could backport it and build an updated Xen version. Then put the package in
testing
repo so you can test it and confirm it solves the issue.I don't know if @r1 can build it for us, but we'll have to wait next week for @stormi to put the package in testing anyway
edit: issue created: https://github.com/xcp-ng/xcp/issues/434
-
@olivierlambert Thanks a lot, that's good news!
I'm very much up for testing so I'll keep an eye on the issue you created -
A big thanks to @andyhhp for his priceless help on this
-
@olivierlambert said in Windows 10 VM reboots when starting software:
I don't know if @r1 can build it for us, but we'll have to wait next week for @stormi to put the package in testing anyway
The patch needed a rework for fitment. I'd create a PR for modified patch and then it can go in testing repo.
-
@jstorgaard Updated packages are now available for you to test: https://github.com/xcp-ng/xcp/issues/434#issuecomment-688786905
-