summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2020-06-25 14:55:39 +0200
committerMax Reitz <mreitz@redhat.com>2020-07-06 08:49:28 +0200
commitdf373fb0a3a26c2b1b92d27c91bea22a0f5b598d (patch)
tree3ff9f9f4fc389e4762a3d87737b14029dbcdcce4 /scripts/qapi/types.py
parenta3579bfa0a209761c8526ccc96a5d6068f14768f (diff)
downloadfocaccia-qemu-df373fb0a3a26c2b1b92d27c91bea22a0f5b598d.tar.gz
focaccia-qemu-df373fb0a3a26c2b1b92d27c91bea22a0f5b598d.zip
block/amend: separate amend and create options for qemu-img
Some options are only useful for creation
(or hard to be amended, like cluster size for qcow2), while some other
options are only useful for amend, like upcoming keyslot management
options for luks

Since currently only qcow2 supports amend, move all its options
to a common macro and then include it in each action option list.

In future it might be useful to remove some options which are
not supported anyway from amend list, which currently
cause an error message if amended.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200608094030.670121-5-mlevitsk@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions