Skip to content

Xen does not build on EFI systems, deprecated checks being performed #127404

@ghost

Description

Describe the bug
Xen package does not build on EFI systems even while support was added in #60485 Add support for booting as Xen dom0 on EFI systems.

To Reproduce
Enable Xen in configuration.nix on a system with EFI boot:

virtualisation.xen.enable = true;

Expected behavior
Xen packages are built and enabled.

Log
Error message is given to the user as nix configuration fails to build.

error:
Failed assertions:
 - Xen currently does not support EFI boot

Related to #12225, failed assertion.

Notify maintainers

Xen maintainers @eelco @tstrobel @oxij

Metadata
Using nixos 21.05 with EFI boot

Maintainer information:

assertions = [ {
assertion = pkgs.stdenv.isx86_64;
message = "Xen currently not supported on ${pkgs.stdenv.hostPlatform.system}";
} {
assertion = config.boot.loader.grub.enable && (config.boot.loader.grub.efiSupport == false);
message = "Xen currently does not support EFI boot";
} ];

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS6.topic: xen-projectIssues and PRs related to the Xen Project Hypervisor.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions