diff options
| author | Corey Bryant | 2012-10-18 21:19:32 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2012-10-24 10:26:19 +0200 |
| commit | e446f70d54b4920e8ca5af509271b69eab86e37b (patch) | |
| tree | f7465db7a97b0b88e859f4be6d9a9291a8d849cd /scripts/checkpatch.pl | |
| parent | monitor: Allow add-fd to any specified fd set (diff) | |
| download | qemu-e446f70d54b4920e8ca5af509271b69eab86e37b.tar.gz qemu-e446f70d54b4920e8ca5af509271b69eab86e37b.tar.xz qemu-e446f70d54b4920e8ca5af509271b69eab86e37b.zip | |
monitor: Enable adding an inherited fd to an fd set
qmp_add_fd() gets an fd that was received over a socket with
SCM_RIGHTS and adds it to an fd set. This patch adds support
that will enable adding an fd that was inherited on the
command line to an fd set.
Note: All of the code added to monitor_fdset_add_fd(), with the
exception of the error path for non-valid fdset-id, is code motion
from qmp_add_fd().
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
