From 6913c0c2ce00c0e886b2bd20b05073090fa5308a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Thu, 23 Jan 2014 21:31:33 +0100 Subject: block: Allow the user to define "node-name" option both on command line and QMP. Signed-off-by: Benoit Canet Signed-off-by: Kevin Wolf --- qapi-schema.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qapi-schema.json') diff --git a/qapi-schema.json b/qapi-schema.json index a433869962..26e370b0a0 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -4092,6 +4092,7 @@ # @id: #optional id by which the new block device can be referred to. # This is a required option on the top level of blockdev-add, and # currently not allowed on any other level. +# @node-name: #optional the name of a block driver state node (Since 2.0) # @discard: #optional discard-related options (default: ignore) # @cache: #optional cache-related options # @aio: #optional AIO backend (default: threads) @@ -4107,6 +4108,7 @@ { 'type': 'BlockdevOptionsBase', 'data': { 'driver': 'str', '*id': 'str', + '*node-name': 'str', '*discard': 'BlockdevDiscardOptions', '*cache': 'BlockdevCacheOptions', '*aio': 'BlockdevAioOptions', -- cgit v1.2.1