Re: [Qemu-devel] [PATCH v4 13/47] ivshmem: allocate eventfds in resize_peers()

2015-09-29 Thread Claudio Fontana
On 24.09.2015 13:37, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > It simplifies a bit the code to allocate the array when setting the > number of peers instead of lazily when receiving the first vector. > > Signed-off-by: Marc-André Lureau > --- > hw/misc/ivshmem.c | 11 ++-

[Qemu-devel] [PATCH v4 13/47] ivshmem: allocate eventfds in resize_peers()

2015-09-24 Thread marcandre . lureau
From: Marc-André Lureau It simplifies a bit the code to allocate the array when setting the number of peers instead of lazily when receiving the first vector. Signed-off-by: Marc-André Lureau --- hw/misc/ivshmem.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/