]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-char.c
Add chardev API qemu_chr_fe_get_msgfds
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Tue, 27 May 2014 12:04:15 +0000 (15:04 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:55 +0000 (16:41 +0300)
commitc76bf6bb8fbbb233a7d3641e09229d23747d5ee3
treeae75adf51d292d0df339b6b82d194caa9e44c1f9
parentd39aac7aac2abd78c483f8527c5aa9ae6156bd49
Add chardev API qemu_chr_fe_get_msgfds

This extends the existing qemu_chr_fe_get_msgfd by allowing to read a set
of fds. The function for receiving the fds - unix_process_msgfd is extended
to allocate the needed array size.

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