[libvirt] [PATCH 6/7] storage: Create helper to set backing for CreateQemuImg code
John Ferlan
jferlan at redhat.com
Mon Jun 6 16:20:46 UTC 2016
On 06/06/2016 09:49 AM, Peter Krempa wrote:
> On Fri, Jun 03, 2016 at 06:42:11 -0400, John Ferlan wrote:
>> Create a helper virStorageBackendCreateQemuImgSetBacking to perform the
>> backing store set
>>
>> Signed-off-by: John Ferlan <jferlan at redhat.com>
>> ---
>> src/storage/storage_backend.c | 118 ++++++++++++++++++++++++------------------
>> 1 file changed, 67 insertions(+), 51 deletions(-)
>>
>> diff --git a/src/storage/storage_backend.c b/src/storage/storage_backend.c
>> index 4a3c41d..624790f 100644
>> --- a/src/storage/storage_backend.c
>> +++ b/src/storage/storage_backend.c
>> @@ -940,6 +940,7 @@ struct _virStorageBackendQemuImgInfo {
>> bool nocow;
>>
>> const char *backingPath;
>> + const char *backingType;
>
> backingFormatStr.
>
>> int backingFormat;
>>
>> const char *inputPath;
>
> ACK with the adjustment
>
Given that patch 4 will change to remove the else condition, this patch
won't be necessary
John
More information about the libvir-list
mailing list