|
From: | Eric Blake |
Subject: | Re: [PATCH] blockdev: modify blockdev-change-medium to change non-removable device |
Date: | Fri, 18 Oct 2019 09:35:18 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 |
On 10/18/19 7:09 AM, Denis Plotnikov wrote:
The modification is useful to workaround exclusive file access restrictions, e.g. to implement VM migration with shared disk stored on a storage with the exclusive file opening model: a destination VM is started waiting for incomming migration with a fake image drive, and later, on the last migration phase, the fake image file is replaced with the real one. Signed-off-by: Denis Plotnikov <address@hidden> ---
+++ b/qapi/block-core.json @@ -4769,6 +4769,8 @@ # @read-only-mode: change the read-only mode of the device; defaults # to 'retain' # +# @medium-name: drive-name when changing the media in non-removable devices +# ignored when changing media in removable devices
s/devices ignored/devices. Ignored/ Missing a '(since 4.2)' tag. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |