Re: [PATCH] qemu_process: Read errors from child

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

 



On 10.12.2013 14:58, Eric Blake wrote:
> On 12/04/2013 03:30 AM, Michal Privoznik wrote:
>>>
>>> An alternative might be to use a pipe back to the parent, marked
>>> close-on-exec, where we dump any untranslated error messages (the parent
>>> can then read until EOF, and if it gets anything on the pipe, then we
>>> know the child raised an error).  Doing so is probably a good idea
>>> anyways, as printing into the log file in the child process is dangerous
>>> (if the child uses _("...") to translate an error message, then it is
>>> calling a function that is not async-signal-safe, and could deadlock).
>>> But it's more invasive, and is not written, so your approach is find to
>>> use in the meantime.
>>
>> Does this mean ACK with grammar fixed? :)
> 
> Now that I've slept on the question, yes:
> 
> ACK.
> 

Thanks, pushed.

Michal

--
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]