qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/5] Add SCM_RIGHTS support to unix socket chara


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/5] Add SCM_RIGHTS support to unix socket character devices
Date: Wed, 08 Jul 2009 13:11:18 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Mark McLoughlin wrote:
It only makes sense to have one per getfd command and ...

It would be silly to pass many fds. fds are scarce resources and you don't want to get into a position where you're queuing fds. If a management tool wants to send an fd, it should issue the monitor command that needs the fd along with the fd via SCM_RIGHTS, and then wait for that command to complete before issuing another command that needs an fd.

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]