Daniel P. Berrange 0cb8d47ba9 block: deprecate "encryption=on" in favor of "encrypt.format=aes"
Historically the qcow & qcow2 image formats supported a property
"encryption=on" to enable their built-in AES encryption. We'll
soon be supporting LUKS for qcow2, so need a more general purpose
way to enable encryption, with a choice of formats.

This introduces an "encrypt.format" option, which will later be
joined by a number of other "encrypt.XXX" options. The use of
a "encrypt." prefix instead of "encrypt-" is done to facilitate
mapping to a nested QAPI schema at later date.

e.g. the preferred syntax is now

  qemu-img create -f qcow2 -o encrypt.format=aes demo.qcow2

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170623162419.26068-8-berrange@redhat.com
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2017-07-11 17:44:55 +02:00
..
2016-07-25 13:23:18 -05:00
2017-06-21 15:02:43 +01:00
2017-06-20 14:31:31 +02:00
2016-10-26 08:29:01 -07:00
2017-05-18 10:01:08 +01:00
2017-06-20 14:31:31 +02:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:04 +04:00
2017-03-01 11:51:28 +04:00
2017-06-04 18:42:55 +03:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:05 +04:00
2017-05-30 16:09:48 -03:00
2017-03-01 00:09:28 +04:00
2017-03-01 00:09:28 +04:00
2017-03-01 00:09:28 +04:00
2017-06-06 20:18:35 +02:00
2017-03-01 11:51:25 +04:00
2017-01-10 08:49:59 -08:00
2016-09-08 17:57:32 +04:00
2017-03-07 16:07:47 +01:00
2016-11-11 20:53:23 +08:00
2017-03-01 11:51:29 +04:00