gnu: vm: Add support for running a VM that shares its store with the host.

* gnu/system/vm.scm (qemu-image): Check whether GUIX is #f.
  (operating-system-build-gid, operating-system-default-contents): New
  procedures.
  (system-qemu-image): Use 'operating-system-build-gid'.
  (system-qemu-image/shared-store,
  system-qemu-image/shared-store-script): New procedures.
* gnu/system.scm: Add missing exports.
This commit is contained in:
Ludovic Courtès 2014-01-31 14:36:48 +01:00
parent 44ddf33ed5
commit fd3bfc44ff
2 changed files with 113 additions and 22 deletions

View file

@ -38,6 +38,16 @@
operating-system?
operating-system-services
operating-system-packages
operating-system-bootloader-entries
operating-system-host-name
operating-system-kernel
operating-system-initrd
operating-system-users
operating-system-groups
operating-system-packages
operating-system-timezone
operating-system-locale
operating-system-services
operating-system-derivation))