]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
block: Enable qemu_open/close to work with fd sets
authorCorey Bryant <coreyb@linux.vnet.ibm.com>
Tue, 14 Aug 2012 20:43:47 +0000 (16:43 -0400)
committerKevin Wolf <kwolf@redhat.com>
Wed, 15 Aug 2012 11:16:22 +0000 (13:16 +0200)
commitadb696f3d8535119fe0f5363de79a29e6bda83ed
tree7fe2a5557264b900f86caff04dc93d568ba1b4ab
parent2e1e79dae7a7e0a3d698fbd359d75e3a0239bdaa
block: Enable qemu_open/close to work with fd sets

When qemu_open is passed a filename of the "/dev/fdset/nnn"
format (where nnn is the fdset ID), an fd with matching access
mode flags will be searched for within the specified monitor
fd set.  If the fd is found, a dup of the fd will be returned
from qemu_open.

Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Makefile
cutils.c
monitor.c
monitor.h
osdep.c
qemu-common.h
qemu-tool.c
qemu-user.c
tests/Makefile