summaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-07-22 09:11:39 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 08:39:28 -0500
commit7d1740590b6550b2b8ab4901e4f0b704d9733383 (patch)
treef193c3ae6b89a9ed5b0c3609a73319ba77bdeb60 /qemu-io.c
parent9977c8943a56b06908555ea6d1706142a3c9da4d (diff)
downloadqemu-7d1740590b6550b2b8ab4901e4f0b704d9733383.tar.gz
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-io.c')
0 files changed, 0 insertions, 0 deletions