Xen Guru

Private

Posts

  • RE: Windows 11 WSL2 is not supported with your current machine configuration

    @SethNY said in Windows 11 WSL2 is not supported with your current machine configuration:

    XCP-ng 8.3, XO from sources.
    Created Win11 from ISO using the built-in Windows 11 template
    Configured and turned into template for cloning.

    Trouble installing WSL on the cloned Win11:
    WSL2 is not supported with your current machine configuration

    This worked a couple years ago Win10 on XCP-ng 8.2, Ubuntu 22.04.

    From administrative powershell

    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    (Accept the reboot, back to administrative powersehll)
    wsl --install
    (fails)
    wsl --list --online
    wsl --install -d Ubuntu-24.04
    (fails again)
    

    I tried enabling Nested Virtualization for the VM without success
    Booted to (F2) BIOS and confirmed not virtualization options there to enable

    Has anyone got Win11/WSL/8.3 working? I'm hoping it's not due to not installing a Windows license key.

    You were probably using WSL 1 before, and now using WSL 2 (which requires Hyper-V thus nested virtualization). And I'm not aware of WSL 2 working on XCP-ng 8.2, I assume you were actually using WSL 1 previously.

    You can use WSL 1 by using

    wsl.exe --set-default-version 1
    

    and

    wsl.exe --set-version <Distro> 1
    
  • RE: pfSense Guest Tools

    @McHenry said in pfSense Guest Tools:

    I have been using pfSense with xcp-ng for a while now without installing the guest tools.

    Due to some networking complications I have decided to install the guest tools to eliminate this as the cause.

    Q1) Are the guest tools required on pfSense and what do they do?

    Actually no, their main functionnality is to provide some data (memory usage, IPs) to XCP-ng to report them upward, AFAICT, it doesn't impact behavior in a significant way. It's actually not "PV drivers".

    Q2) Are these tools being maintained?

    This version of the guest agent is very limited and ancient (I don't exactly what it does, but not much IIRC).

    We're working on a new guest agent in Rust, which actually works pretty well on Linux, Windows (actually used in latest Windows drivers) and FreeBSD (NetBSD is also possible, but current code lacks some platform-specific bits). But we still need to sort-out some issues (some technical and some others non-technical) before making it broadly available / making it packaged.

  • RE: Epyc VM to VM networking slow

    @Maelstrom96 said in Epyc VM to VM networking slow:

    What is the exact kernel patch that is required for the xen-platform-pci-bar-uc=false fix to work on a Linux guest? We're looking at potentially compiling our own kernel with the xen-netfront.c patch, and we would like to see about adding the other part of the Kernel code needed for the Grant table fix.

    Patch is in Linux since 5.19-rc. You also find it in some stable branches like 5.15.

    Otherwise, you can check this patch https://lore.kernel.org/xen-devel/ea4945df138527ed63e711cb77e3b333f7b3a4c9.1751633056.git.teddy.astie@vates.tech/

  • RE: Coral TPU PCI Passthrough

    Hey, sorry guys. Didn't have time to advance on that. I promise will put something to test during november.