qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 00/13] Add a 'x-blockdev-reopen' QMP command


From: Alberto Garcia
Subject: Re: [Qemu-devel] [PATCH 00/13] Add a 'x-blockdev-reopen' QMP command
Date: Thu, 17 Jan 2019 17:05:08 +0100
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Thu 17 Jan 2019 04:50:20 PM CET, Eric Blake wrote:

>> Removing the backing file can be done by simply passing the option {
>> ..., "backing": null } to x-blockdev-reopen.
>> 
> Hmm - that makes my proposal of "option":null as an explicit request
> to the default a bit trickier, if we are already using null for a
> different meaning for backing files.

At the moment 'backing' seems to be the only option that allows a null
value (BlockdevRefOrNull in particular). I suppose there could be more
in the future?

Also, having 'null' meaning 'reset to default' would make this API
differ from blockdev-add, which I'm trying not to do.

Berto



reply via email to

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