Skip to content

Xen / Qubes support #21

@osresearch

Description

@osresearch

Qube's AEM tool was mentioned in #19. It's worth thinking about how Qubes could be supported - there are several issues that make it difficult:

  • Xen's hypervisor is a multiboot image, not an EFI executable, and doesn't bundle the kernel+initrd. There is a guide for building Xen EFI, although it is not a straightforward process. Xen builds an xen.efi that can be booted by the boot manager.
  • Verifying the payload is done with mjg59's shim. This is supposed to call into the UEFI image loader protocol and verify with the PK/KEK/db, but the shim itself is signed by Microsoft. Building and signing a separate shim is required. Unified image does not require the shim to be present.
  • Dom0 is a Fedora system, not Ubuntu, so the Debian package won't install...
  • Fedora uses Dracut; the initramfs-tools would likely need some porting.
  • Read-only root in dom0 requires some hacking since Xen wants to write into /etc; I did it a while ago, but found it challenging to maintain my patches.
  • ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions