vm: Disable swap devices in virtualized OSes. * gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices' field.
1 files changed, 4 insertions(+), 0 deletions(-) M gnu/system/vm.scm
M gnu/system/vm.scm => gnu/system/vm.scm +4 -0
@@ 368,6 368,10 @@ environment with the store shared with the host." #:virtio? #t #:qemu-networking? #t rest))) + + ;; Disable swap. + (swap-devices '()) + (file-systems (cons* (file-system (mount-point "/") (device "/dev/vda1")