diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-12-16 10:11:53 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-12-23 10:54:00 +0100 |
commit | da924796744bbb7b035a986fe5d28d8d613ff6af (patch) | |
tree | 09e7772c899d0194473906a357d0b926a017083d /gnu/build/marionette.scm | |
parent | 59912117d4b8852d9bf5a86dd909f1d4e71b0ad6 (diff) | |
download | guix-patches-da924796744bbb7b035a986fe5d28d8d613ff6af.tar guix-patches-da924796744bbb7b035a986fe5d28d8d613ff6af.tar.gz |
system: vm: Use the image API to generate QEMU images.
Also add a volatile? argument to the virtual-machine record. When volatile? is
true generate a QEMU script that mounts an overlay on top of a read only
storage. When volatile? is false, use a persistent, read-write storage.
* gnu/system/vm.scm (common-qemu-options): Add a rw-image? argument to use a
persistent storage.
(system-qemu-image/shared-store-script): Add a volatile? argument and honor
it. Use the image API to build the QEMU image.
(<virtual-machine>)[volatile?]: New field.
(virtual-machine-compiler): Pass the volatile? argument to the
system-qemu-image/shared-store-script procedure.
Diffstat (limited to 'gnu/build/marionette.scm')
0 files changed, 0 insertions, 0 deletions