nckx pushed a commit to branch master
in repository guix.

commit 1baaf599a4000451a54dcf30098a998f1b5bc70f
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Thu Jun 24 21:36:48 2021 +0200

    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.
---
 gnu/system/vm.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index f3bccec..3390f5a 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

Reply via email to