aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/virtualization.scm
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-06-03 15:11:21 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-06-04 17:15:37 +0200
commitdbab13222461020d0a43051f244478cd817b866f (patch)
tree37802766d4e17362b514df1e156ecdaf9075cf5b /gnu/packages/virtualization.scm
parent40c6f708393885a2d28f847350e8f47beb11e745 (diff)
downloadguix-dbab13222461020d0a43051f244478cd817b866f.tar.gz
guix-dbab13222461020d0a43051f244478cd817b866f.zip
gnu: Add qemu-7.2.4.
Version 8.0.5 is the latest version that works reliably as a qemu-binfmt-service for riscv64, which makes 7.2.4 the newest working version that was packaged for Guix. * gnu/packages/patches/qemu-7.2.4-build-info-manual.patch, gnu/packages/patches/qemu-disable-aarch64-migration-test.patch: New files. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/virtualization.scm (qemu-7.2.4): Use them in new package. Change-Id: Iaedc424e619cdc4964945f7383d47cff0c7ed10f
Diffstat (limited to 'gnu/packages/virtualization.scm')
-rw-r--r--gnu/packages/virtualization.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index d507467e74..cb368c1ab5 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2023 Ahmad Draidi <a.r.draidi@redscript.org>
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2023, 2024 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -520,6 +521,29 @@ server and embedded PowerPC, and S390 guests.")
(supported-systems (fold delete %supported-systems
'("mips64el-linux" "i586-gnu")))))
+;; QEMU >= 8.1.0's riscv64 binfmt service is unreliable.
+(define-public qemu-7.2.4
+ (package
+ (inherit qemu)
+ (name "qemu")
+ (version "7.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://download.qemu.org/qemu-"
+ version ".tar.xz"))
+ (sha256
+ (base32 "0795l8xsy67fnh4mbdz40jm880iisd7q6d7ly6nfzpac3gjr8zyf"))
+ (patches (search-patches "qemu-7.2.4-build-info-manual.patch"
+ "qemu-disable-aarch64-migration-test.patch"
+ "qemu-fix-agent-paths.patch"))
+ (modules (origin-modules (package-source qemu)))
+ (snippet (origin-snippet (package-source qemu)))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments qemu)
+ ((#:tests? tests #f) ;migration tests still fail
+ #f)))))
+
(define-public qemu-minimal
;; QEMU without GUI support, only supporting the host's architecture
(package/inherit qemu