Re: [PATCH 1/2] chardev: don't set O_NONBLOCK on SCM_RIGHTS file descriptors.

2022-06-24 Thread Daniel P . Berrangé
On Fri, Jun 24, 2022 at 02:00:15PM +0300, Andrey Ryabinin wrote: > > > On 6/15/22 16:12, Stefan Hajnoczi wrote: > > On Tue, Jun 14, 2022 at 02:18:42PM +0300, Andrey Ryabinin wrote: > >> This reverts commit 9b938c7262e4 ("chardev: clear O_NONBLOCK on SCM_RIGHTS > >> file descriptors"). > >> File

Re: [PATCH 1/2] chardev: don't set O_NONBLOCK on SCM_RIGHTS file descriptors.

2022-06-24 Thread Andrey Ryabinin
On 6/15/22 16:12, Stefan Hajnoczi wrote: > On Tue, Jun 14, 2022 at 02:18:42PM +0300, Andrey Ryabinin wrote: >> This reverts commit 9b938c7262e4 ("chardev: clear O_NONBLOCK on SCM_RIGHTS >> file descriptors"). >> File descriptor passed to QEMU via 'getfd' QMP command always >> changed to blockin

Re: [PATCH 1/2] chardev: don't set O_NONBLOCK on SCM_RIGHTS file descriptors.

2022-06-15 Thread Stefan Hajnoczi
On Tue, Jun 14, 2022 at 02:18:42PM +0300, Andrey Ryabinin wrote: > This reverts commit 9b938c7262e4 ("chardev: clear O_NONBLOCK on SCM_RIGHTS > file descriptors"). > File descriptor passed to QEMU via 'getfd' QMP command always > changed to blocking mode. Instead of that, change blocking mode by Q