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.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-24 21:36:48 +02:00
parent 1bf1226a4f
commit 1baaf599a4
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -713,7 +713,7 @@ (define (virtfs-option 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