<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Windows 10 VM reboots when starting software]]></title><description><![CDATA[<p dir="auto">I installed a Windows 10 Home VM on XCP-ng 8.1. I'm going to use it for BlueIris NVR application.<br />
Software is installed and all looks good, but when I start the application the VM just stops or reboots. No apparent messages in EventLog.</p>
<p dir="auto">Googling for the same issue I see that other people had similar issues using Proxmox/KVM/QUEMU.<br />
Solution seems to be to add the following to /etc/modprobe.d/kvm.conf:<br />
options kvm ignore_msrs=1<br />
I did try this on XCP-ng but no change.<br />
Is there are similar setting for XCP-ng? To ignore MSRs or not to passthrough CPU features from the host?</p>
]]></description><link>https://xcp-ng.org/forum/topic/3517/windows-10-vm-reboots-when-starting-software</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 22:44:25 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/3517.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Sep 2020 20:22:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Tue, 08 Sep 2020 10:48:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jstorgaard" aria-label="Profile: jstorgaard">@<bdi>jstorgaard</bdi></a> Updated packages are now available for you to test: <a href="https://github.com/xcp-ng/xcp/issues/434#issuecomment-688786905" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xcp-ng/xcp/issues/434#issuecomment-688786905</a></p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">

<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/1241401?v=4" title="olivierlambert" />
<a href="https://github.com/olivierlambert"><span class="username">olivierlambert</span></a> created this issue <span class="timeago" title="2020-09-03T13:29:12Z"></span> in <a href="//github.com/xcp-ng/xcp">xcp-ng/xcp</a>
</div>
<h3>
<span class="badge closed float-end">closed</span>
<a href="https://github.com/xcp-ng/xcp/issues/434">Backport Xen patch to support Ice Lake and Comet Lake CPUs</a>
<span class="number">#434</span>
</h3>



</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/31073</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/31073</guid><dc:creator><![CDATA[stormi]]></dc:creator><pubDate>Tue, 08 Sep 2020 10:48:56 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Sun, 06 Sep 2020 08:24:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/30913">Windows 10 VM reboots when starting software</a>:</p>
<blockquote>
<p dir="auto">I don't know if <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/r1" aria-label="Profile: r1">@<bdi>r1</bdi></a> can build it for us, but we'll have to wait next week for <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stormi" aria-label="Profile: stormi">@<bdi>stormi</bdi></a> to put the package in testing anyway</p>
</blockquote>
<p dir="auto">The patch needed a rework for fitment. I'd create a PR for modified patch and then it can go in testing repo.</p>
]]></description><link>https://xcp-ng.org/forum/post/30975</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30975</guid><dc:creator><![CDATA[r1]]></dc:creator><pubDate>Sun, 06 Sep 2020 08:24:10 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 13:35:13 GMT]]></title><description><![CDATA[<p dir="auto">A big thanks to <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/andyhhp" aria-label="Profile: andyhhp">@<bdi>andyhhp</bdi></a> for his priceless help on this <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://xcp-ng.org/forum/post/30915</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30915</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 13:35:13 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 13:34:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Thanks a lot, that's good news!<br />
I'm very much up for testing so I'll keep an eye on the issue you created <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/30914</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30914</guid><dc:creator><![CDATA[jstorgaard]]></dc:creator><pubDate>Thu, 03 Sep 2020 13:34:15 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 13:29:31 GMT]]></title><description><![CDATA[<p dir="auto">Okay <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jstorgaard" aria-label="Profile: jstorgaard">@<bdi>jstorgaard</bdi></a> I have a good news. It's likely related to your CPU.</p>
<p dir="auto"><code>Family 6 Model 165 Stepping 3</code> in your case, is a Comet Lake CPU.</p>
<p dir="auto">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).</p>
<p dir="auto">This was patched in Xen relatively recently (few months ago), ask you can see here: <a href="https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=1fe406685cb19e9544681c6243e7d376deb0297e" target="_blank" rel="noopener noreferrer nofollow ugc">https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=1fe406685cb19e9544681c6243e7d376deb0297e</a></p>
<p dir="auto">This patch is relatively trivial, so in theory we could backport it and build an updated Xen version. Then put the package in <code>testing</code> repo so you can test it and confirm it solves the issue.</p>
<p dir="auto">I don't know if <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/r1" aria-label="Profile: r1">@<bdi>r1</bdi></a> can build it for us, but we'll have to wait next week for <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stormi" aria-label="Profile: stormi">@<bdi>stormi</bdi></a> to put the package in testing anyway <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">edit: issue created: <a href="https://github.com/xcp-ng/xcp/issues/434" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xcp-ng/xcp/issues/434</a></p>
<div class="row github-embeds-container">

<div class="col-md-6">
<div class="github-embed card">
<div class="card-body">

<div class="meta">
<img class="author-picture not-responsive" src="https://avatars.githubusercontent.com/u/1241401?v=4" title="olivierlambert" />
<a href="https://github.com/olivierlambert"><span class="username">olivierlambert</span></a> created this issue <span class="timeago" title="2020-09-03T13:29:12Z"></span> in <a href="//github.com/xcp-ng/xcp">xcp-ng/xcp</a>
</div>
<h3>
<span class="badge closed float-end">closed</span>
<a href="https://github.com/xcp-ng/xcp/issues/434">Backport Xen patch to support Ice Lake and Comet Lake CPUs</a>
<span class="number">#434</span>
</h3>



</div>
</div>
</div>

</div>]]></description><link>https://xcp-ng.org/forum/post/30913</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30913</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 13:29:31 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 13:10:44 GMT]]></title><description><![CDATA[<p dir="auto">Yeah in <code>xe</code>, it's <code>actions_after_crash</code> that you should set to <code>preserve</code> but in your case, it might be not even relevant.</p>
<p dir="auto">Let me take a look at the <code>dmesg</code> (and showing it to some Xen devs)</p>
]]></description><link>https://xcp-ng.org/forum/post/30910</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30910</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 13:10:44 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 13:08:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/30896">Windows 10 VM reboots when starting software</a>:</p>
<blockquote>
<p dir="auto">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).</p>
<p dir="auto">Thanks for the output <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
</blockquote>
<p dir="auto">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.<br />
How can I change the setting in xe? Can't seem to find that option in XO.</p>
]]></description><link>https://xcp-ng.org/forum/post/30909</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30909</guid><dc:creator><![CDATA[jstorgaard]]></dc:creator><pubDate>Thu, 03 Sep 2020 13:08:39 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 13:01:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/30898">Windows 10 VM reboots when starting software</a>:</p>
<blockquote>
<p dir="auto">Can you do a copy/paste (eg in <a href="http://hastebin.com" target="_blank" rel="noopener noreferrer nofollow ugc">hastebin.com</a>) the full output of <code>xl dmesg</code> from your dom0?</p>
</blockquote>
<p dir="auto">Here is the complete dmesg:<br />
<a href="https://hastebin.com/ruvuqokiba.sql" target="_blank" rel="noopener noreferrer nofollow ugc">https://hastebin.com/ruvuqokiba.sql</a></p>
]]></description><link>https://xcp-ng.org/forum/post/30907</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30907</guid><dc:creator><![CDATA[jstorgaard]]></dc:creator><pubDate>Thu, 03 Sep 2020 13:01:33 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 12:12:14 GMT]]></title><description><![CDATA[<p dir="auto">Can you do a copy/paste (eg in <a href="http://hastebin.com" target="_blank" rel="noopener noreferrer nofollow ugc">hastebin.com</a>) the full output of <code>xl dmesg</code> from your dom0?</p>
]]></description><link>https://xcp-ng.org/forum/post/30898</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30898</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 12:12:14 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 12:04:22 GMT]]></title><description><![CDATA[<p dir="auto">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).</p>
<p dir="auto">Thanks for the output <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/30896</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30896</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 12:04:22 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 11:49:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/30887">Windows 10 VM reboots when starting software</a>:</p>
<blockquote>
<p dir="auto">Also, please share the BSOD screen if possible</p>
</blockquote>
<p dir="auto">Unfortunately no BSOD data available. No guest logs or entries in EventLog. There are never any BSOD shown in the client.<br />
It just plain shuts off or reboots from XCP-ng.</p>
]]></description><link>https://xcp-ng.org/forum/post/30893</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30893</guid><dc:creator><![CDATA[jstorgaard]]></dc:creator><pubDate>Thu, 03 Sep 2020 11:49:39 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 11:47:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/30884">Windows 10 VM reboots when starting software</a>:</p>
<blockquote>
<p dir="auto">If it's MSR related, you should see <code>xl dmesg</code> output when the VM crashes.</p>
</blockquote>
<p dir="auto">This is output from xl dmesg when machine crashes:</p>
<pre><code>(XEN) [57920.851786] d10v1 Unknown Host LBR MSRs
(XEN) [57920.851789] domain_crash called from vmx.c#vmx_msr_write_intercept+0x4c2/0x510
(XEN) [57920.851790] Domain 10 (vcpu#1) crashed on cpu#8:
(XEN) [57920.851791] ----[ Xen-4.13.0-8.6.1.xcpng8.1  x86_64  debug=n   Not tainted ]----
(XEN) [57920.851792] CPU:    8
(XEN) [57920.851793] RIP:    0010:[&lt;fffff8014a7de482&gt;]
(XEN) [57920.851794] RFLAGS: 0000000000040002   CONTEXT: hvm guest (d10v1)
(XEN) [57920.851795] rax: 0000000000000001   rbx: 0000000000000000   rcx: 00000000000001d9
(XEN) [57920.851796] rdx: 0000000000000000   rsi: 0000000000000000   rdi: 00000000000000f0
(XEN) [57920.851797] rbp: fffff68839bd7b00   rsp: fffff68839bd7a78   r8:  0000000000000001
(XEN) [57920.851798] r9:  fffff68839bd75f8   r10: 0000000000000000   r11: ffffd50f3594a080
(XEN) [57920.851799] r12: 0000000002a4b528   r13: 00007ff907ec4900   r14: 00000000000000f0
(XEN) [57920.851799] r15: 0000000000000000   cr0: 0000000080050033   cr4: 0000000000370678
(XEN) [57920.851800] cr3: 0000000061fa4002   cr2: 000000000027425a
(XEN) [57920.851801] fsb: 0000000000000000   gsb: ffffb980e01d1000   gss: ffffb980e01d1000
(XEN) [57920.851802] ds: 002b   es: 002b   fs: 0053   gs: 002b   ss: 0018   cs: 0010

</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/30892</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30892</guid><dc:creator><![CDATA[jstorgaard]]></dc:creator><pubDate>Thu, 03 Sep 2020 11:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 10:03:05 GMT]]></title><description><![CDATA[<p dir="auto">Also, please share the BSOD screen if possible</p>
]]></description><link>https://xcp-ng.org/forum/post/30887</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30887</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 10:03:05 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 09:56:40 GMT]]></title><description><![CDATA[<p dir="auto">If it's MSR related, you should see <code>xl dmesg</code> output when the VM crashes.</p>
]]></description><link>https://xcp-ng.org/forum/post/30884</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30884</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 09:56:40 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 07:21:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/30875">Windows 10 VM reboots when starting software</a>:</p>
<blockquote>
<p dir="auto">Also, is your Windows 10 got all the PV drivers/agent installed?</p>
</blockquote>
<p dir="auto">Yeah, did try with both the Guest tools from Citrix and the XCP-ng ones.</p>
]]></description><link>https://xcp-ng.org/forum/post/30877</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30877</guid><dc:creator><![CDATA[jstorgaard]]></dc:creator><pubDate>Thu, 03 Sep 2020 07:21:44 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 07:20:24 GMT]]></title><description><![CDATA[<p dir="auto">Also, is your Windows 10 got all the PV drivers/agent installed?</p>
]]></description><link>https://xcp-ng.org/forum/post/30875</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30875</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 07:20:24 GMT</pubDate></item><item><title><![CDATA[Reply to Windows 10 VM reboots when starting software on Thu, 03 Sep 2020 07:18:04 GMT]]></title><description><![CDATA[<p dir="auto">Let me ask around <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/30874</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/30874</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Sep 2020 07:18:04 GMT</pubDate></item></channel></rss>