diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2020-06-25 14:55:39 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-07-06 08:49:28 +0200 |
commit | df373fb0a3a26c2b1b92d27c91bea22a0f5b598d (patch) | |
tree | 3ff9f9f4fc389e4762a3d87737b14029dbcdcce4 /tests/qemu-iotests/socket_scm_helper.c | |
parent | a3579bfa0a209761c8526ccc96a5d6068f14768f (diff) | |
download | 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 'tests/qemu-iotests/socket_scm_helper.c')
0 files changed, 0 insertions, 0 deletions