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

    XCP-ng Windows PV tools announcements

    Scheduled Pinned Locked Moved News
    114 Posts 19 Posters 39.1k Views 21 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.
    • J Offline
      john.c @dinhngtu
      last edited by john.c

      @dinhngtu said:

      @john.c I'll consider adding relevant GPOs for this. There's no real complexity difference compared to normal Registry settings.

      As for event logs, what information do you need? The various guest agents already report via Event Log exclusively.

      @dinhngtu That is fantastic news regarding the GPOs—having native administrative template support will be a huge win for enterprise deployments!

      Regarding the Event Logs, my apologies for the ambiguity; I am aware the agents use Event Logs internally. The issue from a fleet management perspective is that when everything is running normally, the logs are quiet, but when a breakdown happens (like a VM losing its IP reporting, or an auto-update breaking xenflt), finding why it failed from a central monitoring system is difficult.

      To make the Event Logs highly actionable for SIEMs, monitoring agents, and automated alerting, having explicit Event IDs for the following critical lifecycle and failure states would be incredibly useful:

      1. Management Lifecycle & Heartbeats
      • Service Lifecycle: Distinct Event IDs for a clean initialisation/handshake with the hypervisor vs. an unexpected service termination.
      • IP/Network Metrics Reporting: An error or warning Event ID raised if the agent fails to bind to the guest network stack or fails to transmit the IP metrics to Xen Orchestra after a specific timeout window.
      1. Backup & VSS Operations
      • Quiesced Snapshots: Dedicated Event IDs tracking when a VSS / quiesced snapshot request is received from the host, whether it succeeded, or a specific error ID if it times out or fails (which often causes backup failures on the XO side).
      1. Driver & Filtering Health
      • UpperFilters Validation: A warning or error Event ID if the agent detects that its driver filters (like XENFLT) are missing from the registry or have been overwritten by a Windows Update cycle.
      1. Upgrade & Missing Tool States
      • “Installed but Inactive" Detection: An alert Event ID if the agent service is running but cannot detect active underlying PV drivers. This is critical for catching scenarios where major Windows or Windows Server feature updates silently strip out driver components without running a proper uninstaller, leaving sysadmins caught flat-footed with a broken stack.

      Providing explicit, documented Event IDs for these states would allow sysadmins to build standard Windows Scheduled Tasks or monitoring rules (e.g., automatically restarting the Xen Guest Agent service the moment a specific "Failed to report metrics" Event ID is caught).

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dinhngtu Vates 🪐 XCP-ng Team @john.c
        last edited by

        @john.c The new XenPlus guest agent emits relevant warnings/errors in the Application event log whenever a failure happens somewhere in its communication with the hypervisor. This was not documented in the release, but it's much improved over the previous 9.1.200 guest agent. Right now events aren't assigned IDs yet (but you can filter by source)

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yomeyo
          last edited by yomeyo

          I've updated from 9.1.200.0 to 9.2.350.0 on a Windows Server 2022 VM and encountered this during the update.

          I clicked OK:

          2fe9225b-aefc-4eb3-b395-59adec0b81ef-image.jpeg

          I clicked OK:

          d5f6e50a-d301-48c9-8e8a-a86b638445ed-image.jpeg

          I clicked on Finish and after that on Yes to restart the VM.

          Now, after the update, every time I log out a user session, I see an event by XenPlus being logged to the event log:

          Category: XenPlus.Features.ClipboardFeature
          EventId: 0
          
          Failed to serve client 6
          
          Exception: 
          System.IO.EndOfStreamException: IO_EOF_ReadBeyondEOF
             at System.IO.Stream.<ReadAtLeastAsyncCore>d__48.MoveNext() + 0x1f2
          --- End of stack trace from previous location ---
             at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16) + 0x23
             at XenPlus.Features.ClipboardFeature.<ServeClientLoopAsync>d__26.MoveNext() + 0xb0d
          --- End of stack trace from previous location ---
             at XenPlus.Features.ClipboardFeature.<ServeClientAsync>d__27.MoveNext() + 0x45d
          
          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dinhngtu Vates 🪐 XCP-ng Team @yomeyo
            last edited by

            @yomeyo It's a client shutdown being misreported as a client error. I'll fix this in the next release.

            The warning on upgrade should be harmless and you can simply close the application/click OK as you've done.

            1 Reply Last reply Reply Quote 0
            • J Offline
              john.c
              last edited by john.c

              @dinhngtu When creating GPOs if you have an non-policy setting for all users in the settings area for the agent config. The policy based registry settings can go into “Software\Policies”, for the appropriate HKEY and keys.

              In which case the policy based registry entries supersede the non-policy ones, when considering also the HKLM vs HKU and HKCU cascade.

              Also a disabling of user configuration of the managed setting(s) along with display of a message like “At least some of these settings are managed by the organisation”.

              1 Reply Last reply Reply Quote 0
              • C Offline
                clip @dinhngtu
                last edited by clip

                @dinhngtu Just wanted to pass along some feedback from trialing the newest version (9.2.350) -- in case it's helpful.

                When comparing to the previous version (9.1.200 -- and earlier versions as well) on Windows 11 Pro VM (with latest updates), this new version results in noticeably slower VM restart and shutdown times (at least when monitored via xenadmin [on Windows] and xenadminqt [on Linux]).

                ... Just remembered I updated XCP-ng at the same time to the latest iteration, perhaps the slowdown may be related to that.

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dinhngtu Vates 🪐 XCP-ng Team @clip
                  last edited by dinhngtu

                  @clip This often happens with Driver Verifier enabled, what do verifier /querysettings and verifier /query say?

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    clip @dinhngtu
                    last edited by

                    @dinhngtu Further trialing showed this issue is confined to one host and all its VMs (including Linux ones) - please consider this issue resolved and not related to Windows PV tools (incidentally, in this particular case there were no verified drivers enabled and no drivers currently verified on the Windows VMs). Apologies for mistaking this as a Windows PV tools issue.

                    1 Reply Last reply Reply Quote 1
                    • A Offline
                      archw
                      last edited by

                      Has anyone had their antivirus go crazy with this version? I am getting tons of messages saying this file has a virus:

                      "C:\Program Files\XCP-ng\Windows PV Drivers\xenplus\xenplus.exe"

                      D Y 2 Replies Last reply Reply Quote 0
                      • D Offline
                        dinhngtu Vates 🪐 XCP-ng Team @archw
                        last edited by

                        @archw Which AV is causing the warning, can you report it as a false positive?

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          archw @dinhngtu
                          last edited by

                          @dinhngtu
                          Something called "Elpha Secure" ...none of our other antivirus shows it being bad but I wanted to ask around before I unflagged it.

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dinhngtu Vates 🪐 XCP-ng Team
                            last edited by

                            Hello all,

                            Version 9.2.385 Release of the Windows guest tools has been released.

                            Download the latest release here: https://github.com/xcp-ng/win-pv-drivers/releases

                            This release brings important bug fixes to the Windows drivers, installer and XenClean.

                            Important note for users upgrading from 9.2.350: You must first install the included XenTools-fix-9.2.351.msp hotfix to upgrade to 9.2.351 before installing 9.2.385. Otherwise, upgrades from 9.2.350 will be blocked. Reboot is not required after installing the hotfix.

                            To download XenClean, click here. The installer downloads also includes a copy of XenClean and XenBootFix. It is not necessary to run XenClean when upgrading from previous versions of the XCP-ng Windows guest tools, unless prompted by the installer. Remember to carefully read XenClean docs before use.

                            Note: Always download the latest XenClean/XenBootFix from https://github.com/xcp-ng/win-pv-drivers/releases

                            Before installing

                            Thank you for using our Windows PV tools. Please carefully read the instructions below.

                            • It is not necessary to run XenClean when upgrading from previous versions of the XCP-ng Windows guest tools, unless prompted by the installer.
                            • Not compatible with the "Manage Citrix PV drivers via Windows Update" option. You must disable this option before installing.

                            Changes since 9.2.350

                            • Improved: Update XenClean to .NET 10. XenClean is now a native binary that no longer requires .NET Framework.
                            • Fixed: Fix data corruption issue during in-memory snapshots and backups.
                            • Fixed: Fix DLL sideloading issue in XenClean.
                            • Fixed: Fix driver migration during upgrades.
                            • Fixed: Fix display of IPv6 addresses in Xen Orchestra in some situations.
                            • Fixed: Reliability and stability fixes for the drivers and guest agent.

                            Help / Community support

                            If you encounter installation/uninstallation errors, please try again with one of the following commands:

                            For installing:
                            msiexec.exe /i XenTools-x64.msi /l*vx install.log
                            
                            For uninstalling:
                            msiexec.exe /x XenTools-x64.msi /l*vx uninstall.log
                            

                            Please include this log along with the file C:\Windows\INF\setupapi.dev.log in your bug report. These files will help us troubleshoot any installation issues.

                            Additionally, please report any errors or BSOD you encounter during testing of this release. Your feedback is very appreciated.

                            1 Reply Last reply Reply Quote 0
                            • Y Offline
                              yomeyo @archw
                              last edited by

                              @archw Bitdefender GravityZone is triggering on this file "C:\Program Files\XCP-ng\Windows PV Drivers\xenplus\xenplus.exe" with this signature: "Generic.Dacic.10760.DEAFFD1D". We use 9.2.350

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                dinhngtu Vates 🪐 XCP-ng Team @yomeyo
                                last edited by

                                @yomeyo Could you report a false positive for the detected file? Thanks.

                                Y 1 Reply Last reply Reply Quote 0
                                • Y Offline
                                  yomeyo @dinhngtu
                                  last edited by

                                  @dinhngtu Yes, I've submitted a false positive report here: https://www.bitdefender.com/en-us/business/submit

                                  1 Reply Last reply Reply Quote 1

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • First post
                                    Last post