OSDN Git Service

Add chardev API qemu_chr_fe_set_msgfds
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Tue, 27 May 2014 12:04:02 +0000 (15:04 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:54 +0000 (16:41 +0300)
commitd39aac7aac2abd78c483f8527c5aa9ae6156bd49
tree5b2b8b15a54f6ba2d4ee5bf622eecb6636b8d5e4
parent7b0bfdf52d694c9a3a96505aa42ce3f8d63acd35
Add chardev API qemu_chr_fe_set_msgfds

This will set an array of file descriptors to the internal structures.
The next time a message is send the array will be send as ancillary
data. This feature works on the UNIX domain socket backend only.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/sysemu/char.h
qemu-char.c