~ruther/guix-local

2934de1447f87b361608ef3a2a756b8a5d2f42e6 — Feng Shu 1 year, 2 months ago e208dfe
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>
1 files changed, 3 insertions(+), 3 deletions(-)

M gnu/system/vm.scm
M gnu/system/vm.scm => gnu/system/vm.scm +3 -3
@@ 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