summaryrefslogtreecommitdiff
path: root/gnu/system/vm.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-06-27 10:45:34 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-07-07 21:20:59 -0400
commit9110c2e9421b4f93b04411f72fcea90ae8511f3c (patch)
tree61c37ba751c3f2723e85d1699c40041f922c2ab5 /gnu/system/vm.scm
parentdf3ce5c123929b690672cfc6adb3323a8033ec44 (diff)
gnu: system: Move <file-system-mapping> into (gnu system file-systems).
* gnu/system/vm.scm (<file-system-mapping>, %store-mapping): Move from here... * gnu/system/file-systems.scm: ...to here. * guix/scripts/system.scm: Import (gnu system file-systems).
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r--gnu/system/vm.scm22
1 files changed, 0 insertions, 22 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index e194ed6cf1..690022dcd8 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -58,12 +58,6 @@
qemu-image
system-qemu-image
- file-system-mapping
- file-system-mapping?
- file-system-mapping-source
- file-system-mapping-target
- file-system-mapping-writable?
-
system-qemu-image/shared-store
system-qemu-image/shared-store-script
system-disk-image))
@@ -354,22 +348,6 @@ of the GNU system as described by OS."
;;; VMs that share file systems with the host.
;;;
-;; Mapping of host file system SOURCE to mount point TARGET in the guest.
-(define-record-type* <file-system-mapping> file-system-mapping
- make-file-system-mapping
- file-system-mapping?
- (source file-system-mapping-source) ;string
- (target file-system-mapping-target) ;string
- (writable? file-system-mapping-writable? ;Boolean
- (default #f)))
-
-(define %store-mapping
- ;; Mapping of the host's store into the guest.
- (file-system-mapping
- (source (%store-prefix))
- (target (%store-prefix))
- (writable? #f)))
-
(define (file-system->mount-tag fs)
"Return a 9p mount tag for host file system FS."
;; QEMU mount tags cannot contain slashes and cannot start with '_'.