qapi: drop unused QCryptoBlockCreateOptionsLUKS.detached-header
PATCH 1/1 qapi: drop unused QCryptoBlockCreateOptionsLUKS.detached-header
The 'detached-header' field in QCryptoBlockCreateOptionsLUKS was left over from earlier patch iterations.
--- qapi/crypto.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
qapi/crypto.json +1 -4
@@ -226,8 +226,6 @@ # @iter-time: number of milliseconds to spend in PBKDF passphrase # processing. Currently defaults to 2000. (since 2.8) # -# @detached-header: create a detached LUKS header. (since 9.0) -# # Since: 2.6 ## { 'struct': 'QCryptoBlockCreateOptionsLUKS',
@@ -237,8 +235,7 @@ '*ivgen-alg': 'QCryptoIVGenAlgorithm', '*ivgen-hash-alg': 'QCryptoHashAlgorithm', '*hash-alg': 'QCryptoHashAlgorithm', - '*iter-time': 'int', - '*detached-header': 'bool'}} + '*iter-time': 'int' }} ## # @QCryptoBlockOpenOptions:
Signature · 1 line
2.43.0
Quoted 22 lines · Daniel P. Berrangé
The 'detached-header' field in QCryptoBlockCreateOptionsLUKS was left over from earlier patch iterations.
Signed-off-by Daniel P. Berrangé <[email protected]>--- qapi/crypto.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)qapi/crypto.json +0
-2@@ -226,8 +226,6 @@ # @iter-time: number of milliseconds to spend in PBKDF passphrase # processing. Currently defaults to 2000. (since 2.8) # -# @detached-header: create a detached LUKS header. (since 9.0) -# # Since: 2.6 ## { 'struct': 'QCryptoBlockCreateOptionsLUKS',
qapi/crypto.json line 241
Quoted 9 lines
qapi/crypto.json +1
-2@@ -237,8 +235,7 @@ '*ivgen-alg': 'QCryptoIVGenAlgorithm', '*ivgen-hash-alg': 'QCryptoHashAlgorithm', '*hash-alg': 'QCryptoHashAlgorithm', - '*iter-time': 'int', - '*detached-header': 'bool'}} + '*iter-time': 'int' }} ## # @QCryptoBlockOpenOptions:
Glad you caught this in time.
Quoted 31 lines · Markus Armbruster
Quoted 29 lines · Daniel P. Berrangé
The 'detached-header' field in QCryptoBlockCreateOptionsLUKS was left over from earlier patch iterations.
Signed-off-by Daniel P. Berrangé <[email protected]>--- qapi/crypto.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)qapi/crypto.json +1
-4@@ -226,8 +226,6 @@ # @iter-time: number of milliseconds to spend in PBKDF passphrase # processing. Currently defaults to 2000. (since 2.8) # -# @detached-header: create a detached LUKS header. (since 9.0) -# # Since: 2.6 ## { 'struct': 'QCryptoBlockCreateOptionsLUKS',@@ -237,8 +235,7 @@ '*ivgen-alg': 'QCryptoIVGenAlgorithm', '*ivgen-hash-alg': 'QCryptoHashAlgorithm', '*hash-alg': 'QCryptoHashAlgorithm', - '*iter-time': 'int', - '*detached-header': 'bool'}} + '*iter-time': 'int' }}
Quoted 6 lines
qapi/crypto.json line 241
Quoted 2 lines
qapi/crypto.json +0
-0## # @QCryptoBlockOpenOptions:Glad you caught this in time.
Urgh, it appears this patch got lost and was not in fact included in 9.0. What's your opinion on removing it from 9.1 with no deprecation period ? Functionally it did absolutely nothing even if used, so removing it at most would cause an incorrect field to now be rejected.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 37 lines · Daniel P. Berrangé
Quoted 36 lines · Markus Armbruster
Quoted 22 lines · Daniel P. Berrangé
The 'detached-header' field in QCryptoBlockCreateOptionsLUKS was left over from earlier patch iterations.
Signed-off-by Daniel P. Berrangé <[email protected]>--- qapi/crypto.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)qapi/crypto.json +0
-2@@ -226,8 +226,6 @@ # @iter-time: number of milliseconds to spend in PBKDF passphrase # processing. Currently defaults to 2000. (since 2.8) # -# @detached-header: create a detached LUKS header. (since 9.0) -# # Since: 2.6 ## { 'struct': 'QCryptoBlockCreateOptionsLUKS',qapi/crypto.json line 241
Quoted 9 lines
qapi/crypto.json +1
-2@@ -237,8 +235,7 @@ '*ivgen-alg': 'QCryptoIVGenAlgorithm', '*ivgen-hash-alg': 'QCryptoHashAlgorithm', '*hash-alg': 'QCryptoHashAlgorithm', - '*iter-time': 'int', - '*detached-header': 'bool'}} + '*iter-time': 'int' }} ## # @QCryptoBlockOpenOptions:Glad you caught this in time.
Quoted 6 lines
Quoted 1 line
Urgh, it appears this patch got lost and was not in fact included in 9.0. What's your opinion on removing it from 9.1 with no deprecation period ? Functionally it did absolutely nothing even if used, so removing it at most would cause an incorrect field to now be rejected.
Doc section "Deprecated features":
In general features are intended to be supported indefinitely once introduced into QEMU. In the event that a feature needs to be removed, it will be listed in this section. The feature will remain functional for the release in which it was deprecated and one further release. After these two releases, the feature is liable to be removed. Deprecated features may also generate warnings on the console when QEMU starts up, or if activated via a monitor command, however, this is not a mandatory requirement.
Note this talks about *features*.
The software industry has a longstanding habit of declaring bugs features. By removing @detached-header without a deprecation period, we effectively do the opposite. The opposite of something bad must be good, right? ;-)
Seriously, it's a judgement call. I'm happy to defer to your judgement here.
Quoted 58 lines · Markus Armbruster
Quoted 37 lines · Daniel P. Berrangé
Quoted 36 lines · Markus Armbruster
Quoted 22 lines · Daniel P. Berrangé
The 'detached-header' field in QCryptoBlockCreateOptionsLUKS was left over from earlier patch iterations.
Signed-off-by Daniel P. Berrangé <[email protected]>--- qapi/crypto.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)qapi/crypto.json +0
-2@@ -226,8 +226,6 @@ # @iter-time: number of milliseconds to spend in PBKDF passphrase # processing. Currently defaults to 2000. (since 2.8) # -# @detached-header: create a detached LUKS header. (since 9.0) -# # Since: 2.6 ## { 'struct': 'QCryptoBlockCreateOptionsLUKS',qapi/crypto.json line 241
Quoted 9 lines
qapi/crypto.json +1
-2@@ -237,8 +235,7 @@ '*ivgen-alg': 'QCryptoIVGenAlgorithm', '*ivgen-hash-alg': 'QCryptoHashAlgorithm', '*hash-alg': 'QCryptoHashAlgorithm', - '*iter-time': 'int', - '*detached-header': 'bool'}} + '*iter-time': 'int' }} ## # @QCryptoBlockOpenOptions:Glad you caught this in time.
Quoted 6 lines
Quoted 1 line
Urgh, it appears this patch got lost and was not in fact included in 9.0. What's your opinion on removing it from 9.1 with no deprecation period ? Functionally it did absolutely nothing even if used, so removing it at most would cause an incorrect field to now be rejected.
Doc section "Deprecated features":
In general features are intended to be supported indefinitely once introduced into QEMU. In the event that a feature needs to be removed, it will be listed in this section. The feature will remain functional for the release in which it was deprecated and one further release. After these two releases, the feature is liable to be removed. Deprecated features may also generate warnings on the console when QEMU starts up, or if activated via a monitor command, however, this is not a mandatory requirement.
Note this talks about *features*.
Quoted 7 lines
The software industry has a longstanding habit of declaring bugs features. By removing @detached-header without a deprecation period, we effectively do the opposite. The opposite of something bad must be good, right? ;-)
Seriously, it's a judgement call. I'm happy to defer to your judgement here.
Ok, I'm going to include this in 9.1. The chances of something already using the new 'detached header' feature from 9.0 is small. Out of that small set, the chances of something setting the (useless) 'detached-header' QAPI field is even smaller.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|