summaryrefslogtreecommitdiff
path: root/gnu/services/virtualization.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services/virtualization.scm')
-rw-r--r--gnu/services/virtualization.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 36e9feb05ca..c8adcd06d06 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2017 Ryan Moe <ryan.moe@gmail.com> 2;;; Copyright © 2017 Ryan Moe <ryan.moe@gmail.com>
3;;; Copyright © 2018, 2020 Ludovic Courtès <ludo@gnu.org> 3;;; Copyright © 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
4;;; Copyright © 2020,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 4;;; Copyright © 2020,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
5;;; 5;;;
6;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
@@ -561,7 +561,17 @@ potential infinite waits blocking libvirt."))
561 (family qemu-platform-family) ;string 561 (family qemu-platform-family) ;string
562 (magic qemu-platform-magic) ;bytevector 562 (magic qemu-platform-magic) ;bytevector
563 (mask qemu-platform-mask) ;bytevector 563 (mask qemu-platform-mask) ;bytevector
564 (flags qemu-platform-flags (default "F"))) ;string 564
565 ;; Default flags:
566 ;;
567 ;; "F": fix binary. Open the qemu-user binary (statically linked) as soon
568 ;; as binfmt_misc interpretation is handled.
569 ;;
570 ;; "P": preserve argv[0]. QEMU 6.0 detects whether it's started with this
571 ;; flag and automatically does the right thing. Without this flag,
572 ;; argv[0] is replaced by the absolute file name of the executable, an
573 ;; observable difference that can cause discrepancies.
574 (flags qemu-platform-flags (default "FP"))) ;string
565 575
566(define-syntax bv 576(define-syntax bv
567 (lambda (s) 577 (lambda (s)