Home
last modified time | relevance | path

Searched hist:"6 d0b908a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/
H A Dvhost-user-bridge.c6d0b908a Tue Dec 01 10:57:39 CST 2015 Victor Kaplansky <victork@redhat.com> tests/vhost-user-bridge.c: fix fd leakage

This fixes file descriptor leakage in vhost-user-bridge
application. Whenever a new callfd or kickfd is set, the previous
one should be explicitly closed. File descriptors used to map
guest's memory are closed immediately after mmap call.

Signed-off-by: Victor Kaplansky <victork@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>