Re: [Qemu-devel] [PATCH v3 18/18] block: pass option prefix down to crypto layer

2017-02-08 Thread Max Reitz
On 26.01.2017 11:18, Daniel P. Berrange wrote: > While the crypto layer uses a fixed option name "key-secret", > the upper block layer may have a prefix on the options. e.g. > "luks-key-secret", "aes-key-secret", in order to avoid clashes > between crypto option names & other block option names. To

[Qemu-devel] [PATCH v3 18/18] block: pass option prefix down to crypto layer

2017-01-26 Thread Daniel P. Berrange
While the crypto layer uses a fixed option name "key-secret", the upper block layer may have a prefix on the options. e.g. "luks-key-secret", "aes-key-secret", in order to avoid clashes between crypto option names & other block option names. To ensure the crypto layer can report accurate error mess