gnu: Fix guix system vm --share argument error.

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

Change-Id: I4182e2dbe1b54e6eec2fb6ca53f9345f6d396f14
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Feng Shu 2025-03-29 15:48:26 +08:00 committed by Danny Milosavljevic
parent e208dfed2d
commit 2934de1447
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -221,9 +221,9 @@ environment with the store shared with the host. MAPPINGS is a list of
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