Re: [libvirt] [PATCH 08/12] storage_util: Split backing_fmt set in storageBackendCreateQemuImgOpts

2018-05-15 Thread Peter Krempa
On Tue, May 08, 2018 at 08:48:01 -0400, John Ferlan wrote: > The only way backing_fmts could be set is if the info->format was > not RAW (see storageBackendCreateQemuImgSetBacking), so let's just > extract it from the if/else surrounding the application of the > encryption options. Well, technical

[libvirt] [PATCH 08/12] storage_util: Split backing_fmt set in storageBackendCreateQemuImgOpts

2018-05-08 Thread John Ferlan
The only way backing_fmts could be set is if the info->format was not RAW (see storageBackendCreateQemuImgSetBacking), so let's just extract it from the if/else surrounding the application of the encryption options. Signed-off-by: John Ferlan --- src/storage/storage_util.c | 7 --- 1 file ch