Revert "qapi: fix examples of blockdev-add with qcow2"
authorMarkus Armbruster <armbru@redhat.com>
Fri, 30 Sep 2022 17:19:08 +0000 (19:19 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 7 Oct 2022 10:11:40 +0000 (12:11 +0200)
commit34f58df51daf49863077d2b809f08510a20b4d9a
tree60f3ae0e2e157f425212ecc9d1d131a663971d93
parentf1d33f55c47dfdaf8daacd618588ad3ae4c452d1
Revert "qapi: fix examples of blockdev-add with qcow2"

This reverts commit b6522938327141235b97ab38e40c6c4512587373.

Kevin Wolf NAKed this patch, because:

    'file' is a required member (defined in BlockdevOptionsGenericFormat),
    removing it makes the example invalid. 'data-file' is only an additional
    optional member to be used for external data files (i.e. when the guest
    data is kept separate from the metadata in the .qcow2 file).

However, it had already been merged then.  Revert.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220930171908.846769-1-armbru@redhat.com>
Reviewed-by: Victor Toso <victortoso@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qapi/block-core.json