[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20239: [PATCH 1/4] services: Add qemu-binfmt.

From: Ludovic Courtès
Subject: bug#20239: [PATCH 1/4] services: Add qemu-binfmt.
Date: Thu, 11 Jan 2018 14:46:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)


Ludovic Courtès <address@hidden> skribis:

> * gnu/services/virtualization.scm (<qemu-platform>): New record type.
> (bv): New macro.
> (%i386, %i486, %alpha, %arm, %armeb, %sparc, %sparc32plus)
> (%ppc, %ppc64, %ppc64le, %m68k, %mips, %mipsel, %mipsn32el)
> (%mips64, %mips64el, %sh4, %sh4eb, %s390x, %aarch64, %hppa)
> (%qemu-platforms): New variables.
> (lookup-qemu-platforms): New procedure.
> (<qemu-binfmt-configuration>): New record type.
> (qemu-platform->binfmt): New procedures.
> (%binfmt-mount-point, %binfmt-register-file, %binfmt-file-system)
> (qemu-binfmt-service-type): New variables.
> (qemu-binfmt-shepherd-services): New procedures.
> * doc/guix.texi (Virtualization Services): Add "Transparent Emulation
> with QEMU" heading.

I fixed a couple of bugs here:

  - open the “…/register” file once for each platform instead of once
    for all;
  - hex-encode all the characters in the magic and mask fields of
    binfmt_misc (before that binfmt_misc would ignore everything after
    the first NUL).

I also added cross-references under the description of --system in the
manual, and a note about the ‘F’ flag of binfmt_misc.

Pushed now!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]