Re: [PATCH] qemu: Break endless loop if qemuMigrationResetTLS fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 04/04/2017 08:29 AM, Jiri Denemark wrote:
> On Tue, Apr 04, 2017 at 07:53:55 -0400, John Ferlan wrote:
>>
>>
>> On 04/04/2017 06:48 AM, Jiri Denemark wrote:
>>> Jumping to "endjob" label from a code after this label is not a very
>>> good idea.
>>>
>>> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
>>> ---
>>>  src/qemu/qemu_migration.c | 4 +---
>>>  1 file changed, 1 insertion(+), 3 deletions(-)
>>>
>>
>> D'oh... Not sure if it's too late, but wrap in ignore_value(); similar
>> to qemuMigrationPrepareAny failure
> 
> Why? The ignore_value macro is only needed when the function is declared
> with ATTRIBUTE_RETURN_CHECK.
> 

Figured that since I had used it that way with PrepareAny - it'd be a
consistency thing since in this path we don't care about the status.
It's a best attempt.  It doesn't really matter that much though.

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux