gnu: vm: Add support for running a VM that shares its store with the host.
authorLudovic Courtès <ludo@gnu.org>
Fri, 31 Jan 2014 13:36:48 +0000 (14:36 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 31 Jan 2014 13:36:48 +0000 (14:36 +0100)
commitfd3bfc44ff65e166d1c515721c7870391dceb799
tree48935d31ba8bcc11b1a9d04a89d0a7e58711c0d9
parent44ddf33ed5b86fd79921aba5572a82c2a940808c
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.
gnu/system.scm
gnu/system/vm.scm