Re: [Qemu-devel] [PATCH v11 for-4.0 08/11] qemu_thread: supplement error handling for qemu_signalfd_compat

2019-02-01 Thread fei
> 在 2019年2月1日,22:13,Markus Armbruster 写道: > > Fei Li writes: > >> From: Fei Li >> >> For qemu_signalfd_compat: set errno, do some cleanup, and return > > "For iothread_complete" is redundant, isn't it? Yep, will remove it. Thanks for pointing this out. :) > >> -1 to replace the temporary

Re: [Qemu-devel] [PATCH v11 for-4.0 08/11] qemu_thread: supplement error handling for qemu_signalfd_compat

2019-02-01 Thread Markus Armbruster
Fei Li writes: > From: Fei Li > > For qemu_signalfd_compat: set errno, do some cleanup, and return "For iothread_complete" is redundant, isn't it? > -1 to replace the temporary &error_abort when failing to create > sigwait_compat. > > Cc: Markus Armbruster > Cc: Eric Blake > Signed-off-by: F

[Qemu-devel] [PATCH v11 for-4.0 08/11] qemu_thread: supplement error handling for qemu_signalfd_compat

2019-01-31 Thread Fei Li
From: Fei Li For qemu_signalfd_compat: set errno, do some cleanup, and return -1 to replace the temporary &error_abort when failing to create sigwait_compat. Cc: Markus Armbruster Cc: Eric Blake Signed-off-by: Fei Li --- util/compatfd.c | 13 ++--- 1 file changed, 10 insertions(+), 3