Re: [Qemu-devel] [PATCH v4 41/47] ivshmem: do not keep shm_fd open

2015-09-30 Thread Claudio Fontana
On 24.09.2015 13:37, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Remove shm_fd from device state, closing it as early as possible to avoid > leaks. > > Signed-off-by: Marc-André Lureau > --- > hw/misc/ivshmem.c | 16 +--- > 1 file changed, 5 insertions(+), 11

[Qemu-devel] [PATCH v4 41/47] ivshmem: do not keep shm_fd open

2015-09-24 Thread marcandre . lureau
From: Marc-André Lureau Remove shm_fd from device state, closing it as early as possible to avoid leaks. Signed-off-by: Marc-André Lureau --- hw/misc/ivshmem.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index fc1d