diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-07-22 09:11:39 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 08:39:28 -0500 |
commit | 7d1740590b6550b2b8ab4901e4f0b704d9733383 (patch) | |
tree | f193c3ae6b89a9ed5b0c3609a73319ba77bdeb60 /qemu-monitor.hx | |
parent | 9977c8943a56b06908555ea6d1706142a3c9da4d (diff) |
Add SCM_RIGHTS support to unix socket character devices
If a file descriptor is passed via a message with SCM_RIGHTS ancillary
data on a unix socket, store the file descriptor for use in the
chr_read() handler. Close the file descriptor if it was not used.
The qemu_chr_get_msgfd() API provides access to the passed descriptor.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
0 files changed, 0 insertions, 0 deletions