Searched hist:"6 d0b908a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/ |
H A D | vhost-user-bridge.c | 6d0b908a 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>
|