[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: services: qemu-binfmt: Add x86_64 QEMU target.
From: |
guix-commits |
Subject: |
10/11: services: qemu-binfmt: Add x86_64 QEMU target. |
Date: |
Mon, 7 Nov 2022 14:52:10 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 9ad311ec15c05efc78f74252e7eb6cddfb0b5cea
Author: Leo Nikkilä <hello@lnikki.la>
AuthorDate: Mon Nov 7 02:09:45 2022 +0200
services: qemu-binfmt: Add x86_64 QEMU target.
* gnu/services/virtualization.scm (%x86_64): New variable.
(%qemu-platforms) Add it.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/virtualization.scm | 1 +
gnu/services/virtualization.scm | 9 ++++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 981e5e0cf3..4c8662f770 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2022 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la>
;;;
;;; This file is part of GNU Guix.
;;;
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index cb6227403b..b3dc9d2114 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -611,6 +611,13 @@ used to manage logs from @acronym{VM, virtual machine}
consoles.")))
(magic (bv
"\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00"))
(mask (bv
"\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"))))
+(define %x86_64
+ (qemu-platform
+ (name "x86_64")
+ (family "i386")
+ (magic (bv
"\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00"))
+ (mask (bv
"\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"))))
+
(define %alpha
(qemu-platform
(name "alpha")
@@ -767,7 +774,7 @@ used to manage logs from @acronym{VM, virtual machine}
consoles.")))
(mask (bv
"\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff"))))
(define %qemu-platforms
- (list %i386 %alpha %arm %sparc32plus %ppc %ppc64 %ppc64le %m68k
+ (list %i386 %x86_64 %alpha %arm %sparc32plus %ppc %ppc64 %ppc64le %m68k
%mips %mipsel %mipsn32 %mipsn32el %mips64 %mips64el
%riscv32 %riscv64 %sh4 %sh4eb %s390x %aarch64 %hppa))
- branch master updated (b670dc6c8a -> 2c1fc058c5), guix-commits, 2022/11/07
- 02/11: gnu: Add siosocks., guix-commits, 2022/11/07
- 01/11: services: gitolite: Add local-code configuration option., guix-commits, 2022/11/07
- 07/11: gnu: Add avr-gdb., guix-commits, 2022/11/07
- 03/11: gnu: Add aioftp., guix-commits, 2022/11/07
- 04/11: gnu: Add pytest-socket., guix-commits, 2022/11/07
- 09/11: gnu: rlwrap: Update to 0.46.1., guix-commits, 2022/11/07
- 05/11: gnu: Add parfive., guix-commits, 2022/11/07
- 11/11: gnu: teximpatient: Update to 2.4-0.e3666ab., guix-commits, 2022/11/07
- 10/11: services: qemu-binfmt: Add x86_64 QEMU target.,
guix-commits <=
- 08/11: build-system/linux-module: Add #:source-directory to linux-module-build-cross., guix-commits, 2022/11/07
- 06/11: gnu: Add kconfig-hardened-check., guix-commits, 2022/11/07