Re: [PATCH v7 06/47] block: Drop bdrv_is_encrypted()

2020-07-08 Thread Andrey Shinkevich
On 25.06.2020 18:21, Max Reitz wrote: The original purpose of bdrv_is_encrypted() was to inquire whether a BDS can be used without the user entering a password or not. It has not been used for that purpose for quite some time. Actually, it is not even fit for that purpose, because to answer tha

[PATCH v7 06/47] block: Drop bdrv_is_encrypted()

2020-06-25 Thread Max Reitz
The original purpose of bdrv_is_encrypted() was to inquire whether a BDS can be used without the user entering a password or not. It has not been used for that purpose for quite some time. Actually, it is not even fit for that purpose, because to answer that question, it would have recursively qu