diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-11-03 14:39:02 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-11-17 13:35:59 +0100 |
commit | f66afbe26f0c093d639610d70d16d7cc3183b652 (patch) | |
tree | c0e99bd4c9af4d32a156c60e91f74efdf79814d9 /slirp/if.c | |
parent | 6473069416ddbb0ef4dccca9bffe87c1424f45fa (diff) |
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 'slirp/if.c')
0 files changed, 0 insertions, 0 deletions