]> Git Repo - qemu.git/commitdiff
qcow2: don't permit changing encryption parameters
authorDaniel P. Berrange <[email protected]>
Fri, 3 Nov 2017 14:39:02 +0000 (14:39 +0000)
committerKevin Wolf <[email protected]>
Fri, 17 Nov 2017 12:35:59 +0000 (13:35 +0100)
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 <[email protected]>
Reviewed-by: Alberto Garcia <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>

No differences found
This page took 0.025025 seconds and 4 git commands to generate.