XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows 10 VM reboots when starting software

    Scheduled Pinned Locked Moved Compute
    18 Posts 4 Posters 2.0k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      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 🙂

      J 1 Reply Last reply Reply Quote 1
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Can you do a copy/paste (eg in hastebin.com) the full output of xl dmesg from your dom0?

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jstorgaard @olivierlambert
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • J Offline
            jstorgaard @olivierlambert
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Yeah in xe, it's actions_after_crash that you should set to preserve 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)

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by olivierlambert

                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 created this issue in xcp-ng/xcp

                closed Backport Xen patch to support Ice Lake and Comet Lake CPUs #434

                J R 2 Replies Last reply Reply Quote 1
                • J Offline
                  jstorgaard @olivierlambert
                  last edited by

                  @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 🙂

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    A big thanks to @andyhhp for his priceless help on this 👍

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      r1 XCP-ng Team @olivierlambert
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 2
                      • stormiS Offline
                        stormi Vates 🪐 XCP-ng Team
                        last edited by

                        @jstorgaard Updated packages are now available for you to test: https://github.com/xcp-ng/xcp/issues/434#issuecomment-688786905

                        olivierlambert created this issue in xcp-ng/xcp

                        closed Backport Xen patch to support Ice Lake and Comet Lake CPUs #434

                        1 Reply Last reply Reply Quote 2
                        • GoogleSitemapsG GoogleSitemaps referenced this topic on
                        • First post
                          Last post