Subject: bug#77119: [PATCH] gnu: Fix guix system vm --share argument error.

From: [email-masked]
Date: Sat, 29 Mar 2025 15:48:26 +0800

From: Feng Shu <[email-masked]>

* 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