[libvirt] [PATCH v2 libvirt 3/8] qemu_command: fix block indentation

Giuseppe Scrivano gscrivan at redhat.com
Tue Aug 19 19:47:30 UTC 2014


Michal Privoznik <mprivozn at redhat.com> writes:

> On 11.08.2014 16:47, Giuseppe Scrivano wrote:
>> Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
>> ---
>>   src/qemu/qemu_command.c | 14 +++++++-------
>>   1 file changed, 7 insertions(+), 7 deletions(-)
>>
>> diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
>> index 8a69976..87569b1 100644
>> --- a/src/qemu/qemu_command.c
>> +++ b/src/qemu/qemu_command.c
>> @@ -3989,13 +3989,13 @@ char *qemuBuildFSStr(virDomainFSDefPtr fs,
>>       }
>>
>>       if (fs->wrpolicy) {
>> -       if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_FSDEV_WRITEOUT)) {
>> -           virBufferAsprintf(&opt, ",writeout=%s", wrpolicy);
>> -       } else {
>> -           virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
>> -                          _("filesystem writeout not supported"));
>> -           goto error;
>> -       }
>> +        if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_FSDEV_WRITEOUT)) {
>> +            virBufferAsprintf(&opt, ",writeout=%s", wrpolicy);
>> +        } else {
>> +            virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
>> +                           _("filesystem writeout not supported"));
>> +            goto error;
>> +        }
>>       }
>>
>>       virBufferAsprintf(&opt, ",id=%s%s", QEMU_FSDEV_HOST_PREFIX, fs->info.alias);
>>
>
> ACK. Again independent patch.

going to push it soon.

Thanks,
Giuseppe




More information about the libvir-list mailing list