GNU bug report logs - #77119
guix system vm run error with --share argument.

Previous Next

Package: guix;

Reported by: Feng Shu <tumashu <at> 163.com>

Date: Wed, 19 Mar 2025 14:39:06 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> friendly-machines.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: tumashu <at> 163.com
To: 77119 <at> debbugs.gnu.org
Cc: Feng Shu <tumashu <at> 163.com>, Feng Shu <tumashu <at> 163.com>
Subject: bug#77119: [PATCH] gnu: Fix guix system vm --share argument error.
Date: Sat, 29 Mar 2025 15:48:26 +0800
From: Feng Shu <tumashu <at> 163.com>

* gnu/system/vm.scm (common-qemu-options): Fix guix system vm --share argument error.

Change-Id: I4182e2dbe1b54e6eec2fb6ca53f9345f6d396f14
---
 gnu/system/vm.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 4f2a27daf7..d4a15257d3 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -221,9 +221,9 @@ (define* (common-qemu-options image shared-fs
 with '-virtfs' options for the host file systems listed in SHARED-FS."
 
   (define (virtfs-option fs)
-    #~("-virtfs"
-       (format #f "local,path=~a,security_model=none,mount_tag=~a"
-               #$fs #$(file-system->mount-tag fs))))
+    (list "-virtfs"
+          #~(format #f "local,path=~a,security_model=none,mount_tag=~a"
+                    #$fs #$(file-system->mount-tag fs))))
 
   #~(;; Only enable kvm if we see /dev/kvm exists.
      ;; This allows users without hardware virtualization to still use these

base-commit: eb30f5ecbea896e9cf93722bf97681d208f1a7be
prerequisite-patch-id: bf4dc4ac71657f46ae15fd5276f0cf882999576f
prerequisite-patch-id: 30c2435b1842ca1237c080977588adffe8b8264e
prerequisite-patch-id: 5d5b3f4c24683b5014cd6f5d603e29d8012d27fe
-- 
2.49.0





This bug report was last modified 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.