On 08.05.2015 19:22, Kevin Wolf wrote:
This patch adds a QemuOpts for generic block layer options to
bdrv_reopen_prepare(). The only two options that exist currently
(node-name and driver) cannot be changed

And I don't suppose we want them to be changed at some point.

(changing node-name doesn't really make sense, because it's not really meant for human usage anyway, and tools don't need to change it once it's set, they just need a unique name; and I can't think of a useful use case for changing the driver)

, so the only thing we do is
putting them right back into the QDict so that we check at the end that
they are indeed unchanged.

We will add new options soon that can actually be changed.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
  block.c | 24 ++++++++++++++++++++++++
  1 file changed, 24 insertions(+)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to