qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 9/9] block: Make auto-read-only=on default fo


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v3 9/9] block: Make auto-read-only=on default for -drive
Date: Wed, 17 Oct 2018 14:10:22 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 10/17/18 11:42 AM, Kevin Wolf wrote:
While we want machine interfaces like -blockdev and QMP blockdev-add to
add as little auto-detection as possible so that management tools are
explicit about their needs, -drive is a convenience option for human
users. Enabling auto-read-only=on by default there enables users to use
read-only images for read-only guest devices without having to specify
read-only=on explicitly. If they try to attach the image to a read-write
device, they will still get an error message.

Signed-off-by: Kevin Wolf <address@hidden>
---
  blockdev.c | 1 +
  1 file changed, 1 insertion(+)


Reviewed-by: Eric Blake <address@hidden>

However, the obligatory: "iotests coverage?"

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

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