summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-24 21:36:48 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-25 00:38:41 +0200
commit1baaf599a4000451a54dcf30098a998f1b5bc70f (patch)
treebb9fbc644fee47ae183a8ffcd82ce25e0adb5a86 /gnu
parent1bf1226a4fe12d65a95792ec4f74b86b5ed26221 (diff)
downloadguix-1baaf599a4000451a54dcf30098a998f1b5bc70f.tar.gz
vm: Update deprecated QEMU option syntax.
Fixes:
  warning: short-form boolean option 'readonly' deprecated
  Please use readonly=on instead

* gnu/system/vm.scm (common-qemu-options): Use it instead.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/vm.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index f3bccec989..3390f5a88f 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -713,7 +713,7 @@ with '-virtfs' options for the host file systems listed in SHARED-FS."
 
      #$@(map virtfs-option shared-fs)
      "-vga std"
-     (format #f "-drive file=~a,if=virtio,cache=writeback,werror=report,readonly"
+     (format #f "-drive file=~a,if=virtio,cache=writeback,werror=report,readonly=on"
              #$image)))
 
 (define* (system-qemu-image/shared-store-script os