guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: vm: Update deprecated QEMU option syntax.


From: guix-commits
Subject: 01/09: vm: Update deprecated QEMU option syntax.
Date: Thu, 24 Jun 2021 18:44:55 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 1baaf599a4000451a54dcf30098a998f1b5bc70f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
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

[Prev in Thread] Current Thread [Next in Thread]