summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-11-03 14:39:02 +0000
committerKevin Wolf <kwolf@redhat.com>2017-11-17 13:35:59 +0100
commitf66afbe26f0c093d639610d70d16d7cc3183b652 (patch)
treec0e99bd4c9af4d32a156c60e91f74efdf79814d9 /tests/qemu-iotests
parent6473069416ddbb0ef4dccca9bffe87c1424f45fa (diff)
downloadqemu-f66afbe26f0c093d639610d70d16d7cc3183b652.zip
qcow2: don't permit changing encryption parameters
Currently if trying to change encryption parameters on a qcow2 image, qemu-img will abort. We already explicitly check for attempt to change encrypt.format but missed other parameters like encrypt.key-secret. Rather than list each parameter, just blacklist changing of all parameters with a 'encrypt.' prefix. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
0 files changed, 0 insertions, 0 deletions